• RSS
  • Facebook
  • Twitter

One Center for all the Testing Need. OneTestingCenter is for all, for all QA, for all Automation. Automation is easy, fun and enriching experience. Happy Learning and Happy Testing!

  • Access to All QA

    At OneTestingCenter, you find lots of books,articles,blogs and detailed guides. Everyone has access to QA. Happy Learning, Happy Testing.

  • Global Trainings

    All the QA/Auotmation trainings are available at OneTestingCenter. QA, Automation, QTP/UFT, Selenium, LoadRunner, QC/ALM, Appium...

  • Automation Learning Fun

    Technology is always evolving. Automation is always challenging. To be frank, Automation is fun, enthusiastic and enrching experience.

    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
    ‘@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    Reactions:

    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
    ‘@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@