Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Selecting Check boxes by Descriptive Programming
#1
Solved: 10 Years, 10 Months ago
Hi Ankur and all,

I am trying to use DP to check all checkboxes on a particular page.

Depending on my product selection on earlier pages 3 or 4 checkboxes are visible remaining are hidden. when I count

Code:
Set ParentW=Browser("abc").Page("xyz")

Set objdesc=Description.Create()
objdesc("type")="checkbox"
Set objparent=ParentW.ChildObjects(objdesc)
ckboxcount=objparent.count()
msgbox ckboxcount

The result is I get 12 checkboxes since only 3 or 4 are visible at a time and others are hidden. How to solve this problem.
Reply


Messages In This Thread
Selecting Check boxes by Descriptive Programming - by sunny rao - 12-11-2008, 07:57 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Dynamic descriptive Programming issue in Terminal Emulator cprasad 1 1,764 04-25-2019, 08:17 PM
Last Post: Ankur
  UFT Tool support with Descriptive programming laks 1 1,648 07-05-2018, 05:31 PM
Last Post: Ankur
  UFT Descriptive Programming objects not identified in a secure & private intranet env bugfinder2 1 1,676 06-07-2017, 01:41 PM
Last Post: Ankur
  UFT descriptive programming Browser("creationtime:=-1") not always working SOUMYADEEP 0 2,913 01-20-2017, 01:53 AM
Last Post: SOUMYADEEP
  Inserting variable values into Descriptive Programming Functions eske99 2 3,187 12-18-2015, 01:47 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)