how to identify the objects if application consists of objects
that have same properties.
Answer Posted / nitin sharma
suppose your object name is "obj"
then write this script
set "obj"=Description.Create()
obj("property").value=Class of object
set a=browser("browser").page("page").childobject(objectname)
msgbox a.count
For i=0 to a-1
DataTable.SetCurrentRow(i+1)
DataTable("URL",dtGlobalSheet)=a(i).getroproperty("url")
Next
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How to replay a script in qtp?
distinguish between old version and new version QTP features.
how can we preform retesting(DATA driven test) using function please gine the code for loginpage
How can you exit from an action?
They asked by using qtp recording writing scripting
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
What are the trigger events in qtp?
Which environments does qtp support?
How to export quicktest professional results to an .xls file?
How you are developing the script? Using record and play back or manual?
Define Error Pane of UFT?
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
What is expert view and keyword view?