Can anyone tell me what is the equivalant method to be used
in QTP for "web_obj_get_text" used in winrunner. My
winrunner code is below.
set_window("Confirm Add Subscriber");
rc = web_obj_get_text("Add
subscriber:","#8","#1",orderID,"The order number
is","\.",1);
basically I need to retrieved the "orderID " from a string
present in 8th row & 1st col of table "Add subscriber"
textVar=browser("").page("").webtable("").getcelldata(8,1)
(table object will come only in web applications.)
| Is This Answer Correct ? | 1 Yes | 0 No |
How to replay a script in qtp?
How u call functions in QTP Function to calculate the length of characters in a wor
How to face prjoect manager round what type of questions they will Ask ? (Chandana)
1 Answers Call Centre, Convergys, IBM,
How to use regular expression in descriptive programming?
how can i prepare for QTP(8.2) to face interview ? give over view details?
how qtp handles customised object
How to capture the tooltip of webelement,if there are two values displayed in tooltip of webelement?
difference between waitProperty & Checkproperty
Difference between action & Reusable action?
Among all the check points what is the most important checkpoint?
Is there anyone can tell me where I can download free or trial QTP? I tried HP website, it was not there anymore. If someone know, pls send me URL. Tks...
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); }