Suppose Object name was changed in the application in the
second build.I have just modified the name in the Object
repository as changes in the Application.
Is it possible to accure changes in the script accordingly?
If so
Suppose I am calling the script through function,
Will the changes affect in the script(which is in the
function)automatically?
If not affected, tell me the solution,How to handle this.
How should I change the object property name while using
functions

Answer Posted / amarendra kothuru

The script/code on Function will not be reflected
automatically. So you have to change the logical name of
the object in your functions manually.

This is only the possibility to modify the script.

This case, Better to use descriptive programming.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process

1364


How to use debug tools?

2285


what is Property......End Property loop? how to write sript for it in QTP

1994


What is the difference between a Function and Action in QTP?

701


Explain qtp(quick test professional)?

659






What is action split and the purpose of using this in qtp?

623


Problem with XML checkpoint in QTP ?

3602


How many test scenarios you have automated? How many time it will take to execute 30-40 scenarios? What SDLC model you are following? How often you will execute your test scripts? Because of some changes, your test scripts failed? When you will update your test scripts? How much time it will take to update? Do you know how to connect database? Do you know the direct method to count no. of records (or) rows present in record set once query is executed? How will you create the connection string? How did you resolve conflicts present in Object Repository? How good you are in VB? How will you work on Excel Application? How will you select Excel sheet? If you want to select 10 sheets, will you create 10 separate objects? Given string is “abcd”. What are the methods you will use to display “dcba”? Drives script – explain the frameworks? How you are updating results for each test? What is start up, configuration, navigation scripts? If you are not able to understand the application (some module), who will teach you? What test cases to be automated? When to be automated? What is the testing process you are following? What life cycle you are following? When you will use Descriptive Programming? Do you have the permission to add objects into shared object repository? (OR) someone will maintain SOR? Do you know how to add objects into shared object repository? How many test cases you have automated? How much time will it take to execute? What is complex in automation? When you feel automation is complex? Tell me one scenario, the complex functionality you have automated in your project? Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet. Rate yourself in SQL? Display the employee name who is getting maximum salary? sal ID Salary name 001 100 002 500 003 300 ID 001 002 003 Ename A B C Have you written any test cases while you are in Automation? Manual Testing also will you do or you will work only in automation?

2318


Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma

3411


What is the difference between byref and byval in qtp?

675


X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?

1628


can anyone tell me from where i can download qtp demo or crack version

1705


Discuss the QTP Environment?

714


What is checkpoints for quicktest professional?

651


how to test use the quality control .how to verify the image verification

2660