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

Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris

0 Answers  


how u will evaluate the tool for test automation?

0 Answers   SysArc,


How to Practice QTP Scripts?

1 Answers  


How can I change object description or check point values in qtp?

0 Answers  


is qtp 9.2 create the scripts with the application run on mozilla firefox browser?

3 Answers  






how can i use text check point in descriptive programming. or else is there any way to compare the text in the application and the text in data table.

2 Answers  


How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

0 Answers  


Whenever i'm running 3 diffrent scripts in a Test Batch Runner as a batch. its not showing any result. QTP only runs all the scripts n nothing else. B4 running the test batch i have done all the settings, But still its not working.

2 Answers  


What is file database?

0 Answers   Syntel,


Take a situation when you are working with QTP, suddenly system has crashed.so you again start the system. My questyion is how can QTP directly opened when the system desktop appears.

1 Answers  


How Does Run time data (Parameterization) is handled in QTP?

2 Answers   Crea,


How does QTP identifies the object in the application?

1 Answers   Crea,


Categories