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);
}
No Answer is Posted For this Question
Be the First to Post Answer
What is the parameterization? Give one example?
How to run a script from lines 50 - 100 alone (if the script has 1- 200 lines of code)?
I have a list box which contains duplicate values e.g. A,A,A,B,B,B,C,C,C.Now write a code in qtp to test the list box . Scenario #1 : I have to check whether any values are there? Scenario #2 : If duplicate values are there,then how many time it is getting duplicated? Svenario #3 : how can I test presence of items in list box ommiting duplicate values?
Is it possible to call from one action to another action in qtp?
Write a script to verify font style and color of a windows object using descriptive programming
Friends please let me know how id following possible in QTP: Can I apply conditional loop on a bitmap/image or any other checkpoint. Like if checkpoint passes then if or Else
Explain the concept of object repository and how QTP recognizes objects?
What is the current version of QTP and now it is the product of Mercury or HP
I have action1, action2, action3 r there.my query is while executing if i get any error in action1 i want exit from here itself, otherwise execute action2, if i get any error in action2 i want exit from hereitself, like this,what is the method for this?
Have you worked with QC?
Consider a scenario where there are two action sheets say action 1 and action 2. Can Action 1 take values from action 2 data sheet or vice versa. If so, how?
How Does Run time data (Parameterization) is handled in QTP?