Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP10 - How to ID a generic object
#4
Not Solved
Hi SUpputuri,

I found that if I select each check box, QTP assigns a number to each one, starting a 0 or no number, up to 19. I just referenced the number QTP assigned to the checkbox. Then I can set the value as a parameter to ON or OFF

Code:
Browser("IFS :: Avalanche").Page("IFS :: Avalanche").WebCheckBox("chkSourceDbCd").Set "ON"
Browser("IFS :: Avalanche").Page("IFS :: Avalanche").WebCheckBox("chkSourceDbCd_2").Set "ON"
Browser("IFS :: Avalanche").Page("IFS :: Avalanche").WebCheckBox("chkSourceDbCd_3").Set "ON"
Browser("IFS :: Avalanche").Page("IFS :: Avalanche").WebCheckBox("chkSourceDbCd_4").Set "ON"
Browser("IFS :: Avalanche").Page("IFS :: Avalanche").WebCheckBox("chkSourceDbCd_5").Set "ON"
Reply


Messages In This Thread
QTP10 - How to ID a generic object - by SRA - 08-26-2010, 12:50 AM
RE: QTP10 - How to ID a generic object - by SRA - 08-26-2010, 06:46 PM
RE: QTP10 - How to ID a generic object - by SRA - 08-26-2010, 11:26 PM
RE: QTP10 - How to ID a generic object - by SRA - 08-27-2010, 12:55 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  qtp10 does not support internet explorer8 or 9 excellentpawan 2 3,149 06-19-2013, 12:19 PM
Last Post: vinod123
  Qtp10 test not running in Firefox 13 rahullfo 3 4,148 06-28-2012, 05:27 PM
Last Post: vinod123
  Nagivate and Learn is slow in QTP11 vs on QTP10 chong67 0 2,322 06-27-2012, 09:40 PM
Last Post: chong67
  Recording problem in QTP10.0 sandya.qtp 4 4,291 01-31-2012, 08:15 PM
Last Post: Kim_H
  Objects are not getting identified (QTP10, Java application) KGKrishnan 1 3,939 01-31-2012, 09:25 AM
Last Post: sandya.qtp

Forum Jump:


Users browsing this thread: 1 Guest(s)