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
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
Explain runtime dynamic settings?
What is the quicktest professional (qtp) testing process?
regular expression in qtp standar check point for months from accepting months from january to december only
What are the disadvantages of recording test cases in qtp?
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
What is clean sweep?
is it possible to add sheets to excel at runtime
What is the pros and cons between QTP and Rational Robot
How to connect the remote desktop using QTP 9.2 explain the method or procedure?
Qtp has been installed on my pc but recently ON opening it is giving this error PLEASE REPLY IT IS URGENT IT WAS WORKKING FINE QTPRO.EX THE instruction at "0x7.. ...". referenced memory at "0000....The memory could not be read... Awaiting QTP XPERTS REPly URGENT
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?
How to use parameterization in qtp?
Describe the differences between functions and actions in UFT?
how to idetfy which test cases are automated?who will deside that plz tell me