How will u find that how many List boxes( and check boxes)
are present in one particular window
Answer Posted / kalyan
HI Every bodey,---
Any object present in the page is known as childobject.
Ex:-Link,Web Edit,Check Box,Web button,List box,etc...
If u want to coun the Listboxes (or)Check boxes you can
write below script.
---------CODE----------
set ochbox=description.create
ochbox("micclass").value="checkbox"
set chobj=Browser().Page().childobjects(ochbox)
n=chobj.count
msgbox n '(here you can get how many check boxes there in a
page)
for i=o to n-1
val1=chobj(i).getroproperty("innertext","name")
msgbox val1
next
-----------End---------
In the same way we can find Links,Webbuttons,Listboxes,etc..
Any doubts----mail to----mskalyan.smile@gmail.com
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How the exception handling can be done using quicktest professional?
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
Explain how Selenium is different from UFT?
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
How many types of object repository in qtp?
Connect to QC using AOM.
Is QTP supports Unix. If yes, then how the test automation is done?
Where to use function or action?
Can any one tell me.......How the test engg's start testing in the compy environment.....real time tester PLSSSS help me i need in depth information regarding this...
Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.
What does mean by Scope of Automation?n How we defined it?
in a web page hoe to check the dynamic links that rechabging with out using regular expressions
How many scripts did you have?
Give me some real time point of way where exactly we can conduct audits?
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?