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

Post New Answer

More QTP Interview Questions

I learned all the objects of my application in object repository thru English Language. now i want to use same object repository for other languages(French,Dutuch and Chinese)

1 Answers   TCS, Wipro,


how many types of actions r there? what r they? explain? pls give any one answer?

3 Answers   IBM,


how to change the properties of object during run time . plz give the code using flight reservation

2 Answers  


Explain the concept of object repository & how QTP recognises objects?

1 Answers  


Explain different types of action in qtp?

0 Answers  






Explain process of smart Identification in QTP?

0 Answers  


What is the regular expression for Yahoo mail Inbox?

2 Answers  


How to change the priorities of the recovery scenario properties?

0 Answers  


The Senario is Steps to do 1.Entered userid in textbox 2.saved with details 3.i want to open user which i have created its in hurry.....

1 Answers  


How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)

0 Answers   TCS,


what is use of optionexplicit in variable declaration

5 Answers   GE,


i have 2 year experience in manual and automation testing, I have less percentages in X, Xii (Second grade), can i elgible to TCS interview (Or MNC's)

3 Answers  


Categories