One Testing Center

QTP - Keyword Driven Framework. QTP Learning Book - Learn By Questions. QTP Learning Book - Made Easy - Part1. QTP Learning Book - Made Easy - Part2. QTP Quality Center - QC.

QTP - Frameworks

QTP - Frameworks. Record and Play back Framework. Action Driven Framework. Data Driven Framework. Functional Decomposition Framework. Keyword Driven Framework. Hybrid Framework. Test Driven Framework.

QTP - Automation

QTP - Basics. QTP - Intermediate. QTP - Advanced. QTP - Frameworks.

QTP - Training

Friends, Welcome to OneTestingCenter. I am HP Functional Test ExportOne. I am HP Automation Functional Test Certified Professional. I am certified for HP Functional Test 11.x. Happy to share my knowledge.

QTP - Books

QTP - Keyword Driven Framework. QTP Learning Book - Learn By Questions. QTP Learning Book - Made Easy - Part1. QTP Learning Book - Made Easy - Part2. QTP Quality Center.

Recent Post

Showing posts with label QTP – Descriptive Programing – Any Web App - Working with Web Check Boxes. Show all posts
Showing posts with label QTP – Descriptive Programing – Any Web App - Working with Web Check Boxes. Show all posts

QTP – Descriptive Programing – Any Web App - Working with Web Check Boxes

QTP – Descriptive Programing – Any Web App - Working with Web Check Boxes

OneTestingCenter @ QTP @ Descriptive Programming @ Web Check Boxes @ DP Script

‘@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Any Web App – Working with Web Check Boxes
‘ QTP – Descriptive Programing – Working with Web Check Boxes
‘@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Set oWebCheckBox=Description.Create()
oWebCheckBox("micClass").value="WebCheckBox"

Set oPage=Browser("name:=.*").Page("title:=.*")

Set oWebCheckBoxAll=oPage.ChildObjects(oWebCheckBox)
MsgBox "Total Number of Check Boxes on the page are " &vbtab & oWebCheckBoxAll.Count

For i= 0 to oWebCheckBoxAll.Count-1
msgBox "Check Box Name" &vbtab & i &vbtab & oWebCheckBoxAll(i).GetROProperty("value")
' oWebCheckBoxAll(i).Set "ON"
oWebCheckBoxAll(i).Set "OFF"
wait(2)
Next



Set oPage=Browser("name:=.*").Page("title:=.*")
oPage.WebCheckBox("value:=Technology,10,").Set "ON"
'oPage.WebCheckBox("value:="& WebCheckBoxName).Set "ON"

‘@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
‘ Any Web App – Working with Web Check Boxes
‘@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

GAReddy @ OneTestingCenter @ All Articles