how to change the properties of object during run time . plz
give the code using flight reservation
Answer Posted / nikhil sood
see guys by using getroproperty method we can retrive run
time property value but we can nothave method to change
runtime property please let me know if i am incorrect
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
How do you synchronization point through DP?
What is a checkpoint? How many check points are there in qtp?
Where we use data driver in qtp?
What is data driver in qtp?
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
Hi, how can we check or avoid the memory leakage in QTP9.2?
how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0
Why script error occur in between recording in qtp?
What are the types of environment variables in qtp?
How do know the number of browsers opened?
Which features or drawbacks of QTP lead to the upgrade for a newer version?
1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins
Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....
how can we do the frame work in qtp