QTP -object reposistory spy tool is not able to spy the pop
up message appearing in the application, so how is that i
can handle such run time pop ups in QTP by code???
Answers were Sorted based on User's Feedback
Answer / pratap bandagi
use Sendkeys method to Click on the button highlited.
for Example if there are two buttons on the popup use Sendkeys method to click on the default button like {"ENTER"} or {"TAB"} or {"ALT+F4"} so that u can close the popup or perform any operation on the popup.
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / amruta
using shell object
a=10
b=20
set objshell=createobject("wscript")
If b=10+a Then
objshell.popup"b is equal to a"
else
objshell.popup"b is not equal to a"
| Is This Answer Correct ? | 0 Yes | 9 No |
what is the hierarchy to use properties in descriptive programming
How can you handle exceptions in qtp?
Lets say,flipkart website...in search button we have entered category[i.e watches] it displays some items...question is how to test price displayed each product is correct or not through qtp
Flight reservation using input and output parameter script.
What type of error u will get if u have not installed java add in in java project? what is the error name ?
How to handle Java tree in QTP?
The xls contain data. how to get number of columns form the sheet?
Can u Reduce the size of Object repository? What are the problems u have faced in Qtp tool?
Can we run test with out adding object in object repository? How it is possible?
what is use of optionexplicit in variable declaration
in qtp how i can retrive from a browser how many links are there.means total no of links used in a browser
How we know the qtp has used the smart identification process for identification of the object.