Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Webtable Checkbox in UFT
#4
Solved: 7 Years, 1 Week ago
Here is the simple example :
- Navigate to https://www.learnqtp.com/forums/Forum-QTP-Beginners page
- will find a table row with your name and there will be a checkbox at the end of the row (last column)
- Now just copy the below code and execute - (close any other browsers which are already in open and keep only this browser open - or you can handle the creation time if you know how to do it.)
- Then execute the code - the checkbox will be hightlighted

Code:
Browser("creationtime:=0").Page("micclass:=Page").WebElement("html tag:=tr","innertext:=.*Syahirah.*").WebCheckbox("index:=0").highlight
Browser("creationtime:=0").Page("micclass:=Page").WebElement("html tag:=tr","innertext:=.*Syahirah.*").WebCheckbox("index:=0"). Set "ON"
Browser("creationtime:=0").Page("micclass:=Page").WebElement("html tag:=tr","innertext:=.*Syahirah.*").WebCheckbox("index:=0").highlight

Hope this is helpful.
Thanks,
SUpputuri


Messages In This Thread
Webtable Checkbox in UFT - by Syahirah - 08-31-2015, 12:46 AM
RE: Webtable Checkbox in UFT - by supputuri - 08-31-2015, 10:02 AM
RE: Webtable Checkbox in UFT - by Syahirah - 08-31-2015, 12:34 PM
RE: Webtable Checkbox in UFT - by supputuri - 09-01-2015, 08:02 AM
RE: Webtable Checkbox in UFT - by supputuri - 09-01-2015, 11:24 PM
RE: Webtable Checkbox in UFT - by Ankur - 11-15-2017, 03:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to check Checkbox in SSDBGrid in windows application RamUFT 0 1,096 02-13-2020, 07:34 PM
Last Post: RamUFT
  UFT 11.52 - How to select multiple rows in webtable UFT_Tester 0 6,237 09-12-2013, 09:36 PM
Last Post: UFT_Tester
  how to use DataTableGet on a checkbox. Is it possible? if not, what is the right appr jbelkin@gmail.com 1 2,848 08-02-2012, 10:23 AM
Last Post: sshukla12
  unable to identify Checkbox Property inside the WinList Object tech.savy987@gmail.com 2 4,283 07-20-2012, 10:18 AM
Last Post: Shridevi.Salagare
  QTP locks the application when I want to click on a checkbox sqadri 0 1,892 03-28-2012, 09:36 PM
Last Post: sqadri

Forum Jump:


Users browsing this thread: 4 Guest(s)