Forum Discussion

arunharde's avatar
arunharde
Occasional Contributor
13 years ago

How to Read the online value and use it as parameter

I want to know the Procedure of reading the online value of any web application through which I can Pass that value again in same Project as CheckPoint.

  • To read a element value and how to use it like a parameter compare, first you need to find the element. Can you try to use the method findChild.


     


    Example:


     


    var element = Sys.Process("iexplore").FindChild(attribute, value, 500);


     


    Now, after you have the element, you can compare any property value using "aqObject.CheckProperty()" method.


     



     


     


    //this code will compare if the name of element is equal 'Tescomplete'


    aqObject.CheckProperty(element , "Name", cmpEqual, "Testcomplete");