Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not able to select particular checkbox from mulitple checkboxes
#1
Not Solved
Hi guys,

I am using QTP10 and .NET application.
I am using Descriptive programming.

I have a problem when qtp is trying to select the particular check box from multiple check boxes.
All the check boxes have below mentioned same properties. there is no unique property.
type, HTML tag, calss,outerhtml properties.
there is no unique property like name, html id...

And index value is there. But when we are using the index number during script execution itis selecting wrong checkbox.(here the problem is, suppose in team one resource is executing the qtp scripts, other resource is testing manually and is creating some other check boxes. so, no.of checkboxes are increased.in this situation Index property is not working.)

Sample Code is:

Code:
If Browser("title:=http://172.16.220.24/Proof/PageManager.aspx    ").Page("url:=http://172.16.220.24/Proof/PageManager.aspx").Frame("html tag:=IFRAME","title:=PROOF"). WebCheckBox("html tag:=INPUT","type:=checkbox").Exist Then

msgbox "hi"

End if
Any one know the solution pls reply.

Thanks in advance!
Reply


Messages In This Thread
Not able to select particular checkbox from mulitple checkboxes - by qtpexpert - 06-21-2012, 11:09 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with Select checkbox from data table value jayraocourts 0 1,251 11-01-2019, 10:25 PM
Last Post: jayraocourts
Sad Click checkbox using its label name. venkatesh9032 1 3,193 08-10-2015, 10:33 PM
Last Post: kotaramamohana
  Childobject return wrong checkbox count.. VpnQTP 1 2,862 04-09-2015, 09:07 PM
Last Post: babu123
  How to select dynamic checkbox from web dropdown QA_Newbie 2 4,681 07-20-2014, 09:40 PM
Last Post: QA_Newbie
  How To pick up the particular mail in Post Login Gmail page and click on Checkbox akhandesh 0 2,847 12-02-2013, 01:35 PM
Last Post: akhandesh

Forum Jump:


Users browsing this thread: 3 Guest(s)