If an application name is changing frequently i.e while
recording it has name “Window1” and then while running
its “Windows2” in this case how does QTP handle?

Answer Posted / siva

Best one is regular expression.Regular expression can
easily identifies the objects with dynamic values during
run-time.
1. Go to Object Repository.
2. Select the particular object in the left side and
double click on the property value("Name of the window")
3.Click on regular Expression check box and set as 'window
[0-9]*

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create Reusable and Multiple Actions?

1702


What is checkpoint in qtp?

544


How would you directly trigger javascript in a test?

1466


How to test login module with different username and password by using data driven testing in QTP?

601


What is object spy in quicktest professional (qtp)?

533






I have 5 save buttons in 5 tabs . The tabs are placed one after the other. My object repository have these added as 5 save buttons with name sav1, save 2, save 3 , save 4, save 5 .all are getting highlighted from OR but they are not getting clicked. After spying each button all the properties are same except First button Index 0 html id:=btnSaveTab1 outerhtml:=", Second button "html id:=btnSave "outerhtml:=", Third button "html id:=", outerhtml:=",

1343


What is difference between design time and run time data table?

578


Can any give an example(if possible templates) how to test web application using QTP. thanks in advance

1545


Explain how qtp identifies object?

601


How does qtp identify the object in the application?

529


What is the difference in testing a client-server application and a web application?

575


How many number of actions possible in qtp?

598


Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance

1515


What are the ways you can synchronize?

577


Explain quicktest professional testing process?

555