How to handle Dynamically changing Objects in QTP?
Answer Posted / suneetha
if the object is dynamically changing then we can set the
property of that object with
set to property.propertyname.propertyvalue
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
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); }
Write a script to verify font style and color of a windows object using descriptive programming
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
Generic function to search for the unique link in webtable and click on it
How software tester can use constants and variables in scripts?
Limitations in QTP?
If I change the object name in one action will it be updated in all the actions? Or not?
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
What is parameter in qtp?
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
What is action split and the purpose of using this in qtp?
WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,
When do go for loop condition in test?
what kind of frame work you used in your last project?
Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.