Active Topics Memberlist Calendar Search Help | |
Register Login |
One Stop Testing Forum : Testing Tools @ OneStopTesting : WinRunner @ OneStopTesting |
Topic: Winrunner with table object on web page. |
|
Author | Message |
kajal
Newbie Joined: 24Apr2007 Online Status: Offline Posts: 21 |
Topic: Winrunner with table object on web page. Posted: 24Apr2007 at 11:57pm |
I am getting an
error message while reading a value from a cell in a table on a web
page. It displays the hand symbol to identify again the object.
When a data is not present in a particular cell under a table on web page, it gives an error “Winrunner can not find the object … table_name”. This is the code I am using – set_window("Window_Name"); tbl_get_rows_count("table_name",iRow); for(i=1;i<=iRow;i++) { set_window("Window_Name"); rc=tbl_get_cell_data("table_name","#"&i,"#7",sVal); if(rc==E_OK) { pause(sVal); } } Is there any method or way which will first identify whether the execution is successful or while reading a value it should not give any error message? Post Resume: Click here to Upload your Resume & Apply for Jobs |
|
IP Logged | |
partha
Newbie Joined: 25Apr2007 Online Status: Offline Posts: 1 |
Posted: 25Apr2007 at 3:09am |
The physical description of the table object is like -
"{ class: object, MSW_class: html_table, location: 3}". I read the "availability" chapter. I tried the function "web_tbl_get_cell_data ( table, row, column, starting_pos, out_text, out_actual_text_length );" also which is specific to web page only but getting the same problem. Appreciate if you can suggess any other way to handle the error displayed. |
|
IP Logged | |
Forum Jump |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
© Vyom Technosoft Pvt. Ltd. All Rights Reserved.