Print Page | Close Window

Click the html table

Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: WinRunner @ OneStopTesting
Forum Discription: WinRunner is an automated functional GUI testing tool that allows a user to record and play back UI interactions as test scripts using a proprietary Test Script Language (TSL).
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=40
Printed Date: 02Jul2024 at 11:37pm


Topic: Click the html table
Posted By: Pooja
Subject: Click the html table
Date Posted: 14Feb2007 at 12:27pm
I have an html table in a web application with check boxes in one column. I wish to check them using winrunner but i don't know how to do it. I tried "tbl_click_cell" but i get an error "Undefined function". What is a way i can achieve this?

-Thanks




Replies:
Posted By: Ajay
Date Posted: 14Feb2007 at 12:34pm
you are going to have to step through the column along each row and use the web_obj_get_child_item() and web_obj_get_info() functions to interact with the control.

when you have the column and row position of your cell, use the web_obj_get_child_item() function to pull the physical description of the checkbox from the cell, then follow up with the web_obj_get_info to pull the value or state of the control for your comparison.

You will have to write the code to do this manually as it isn't something that is going to be recorded.



Print Page | Close Window