How to capture the Check point Value into a variable?
Answer Posted / rajkumar
checkpoints have values like true/pass(bo0lean)
if your insert one checkpoint it's "pass" it will return
True otherwise it's return false
s=Browser("Google").page("Google").check check("orkut")
if s=True Then
msgbox "it's as per expected"
else
msgbox "it's not as per expected"
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is recovery scenario in qtp?
Explain the difference between data driven testing and parameterization ?
What is an expert view and keyword view?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
How many types of object repository in qtp?
Does quicktest professional is unicode compatible?
what is output value in QTP and how it can be used in automation testing
How to use descriptive programming?
An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
Which environments are supported by hp qtp?
Explain how qtp identifies object?
Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.
What is recovery scenario manager? When you go for recovery scenario manager?