Answer Posted / santosh
1.increasing the default time
2.Object Property:
The specific property of an object can be considered as a condition to request the QTP wait for some time until the property is seen on the object.
3.Exist method:
this method is used for requesting the qtp to wait for some time until for specific window exist.
EX:
if(window("flight reservation").exist(10)) then
...............
...............code
...............
else
msgbox("flight reservation window doesn't appeared").
end if.
4.wait statement
ex:wait(10)...direct setting the time in seconds.
5.sync method:
browser(browser name).sync()
This is used for only web applications.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Where should i find checkpoint and virtual objects's Object properties and values in the QTP 9.2 Means where checkpoints or virtual objects related data will store If i want to get the runtime object properties how can i use Getroproperties on Checkpoints
Is it possible to call win runner script in qtp?
how to idetfy which test cases are automated?who will deside that plz tell me
How is a Step generator used in UFT?
The hybrid framework can be implemented for any application. Is it true?
I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }
How will you declare a variable in qtp?
If I change the property value at runtime is it effect is object repository?
What do you to script when objects are removed from application?
Do you know how to connect database? Can you tell me the procedures?
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
Can you list some technologies that support qtp?
Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter
Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?