Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do i relate the checkbox properties with webelement
when checkbox properties are changing on every login to the
application

Answer Posted / tvs ramakrishna chowdary

we can solve this by using regular expression and setto pro
perty method
------------------------------------------------------------
1)by or
-------
1)go to or
2)select webcheckbox object
3)goto object properties pane
4)select the name property
5)in the value portion click 'configure value' buttton
6)replace constant with *.*
7)selct check box Regular expression ON
8)click ok
9)close or
10)now u run ur script

2nd way
----------
' by using setto property method we can change the property
value dynamically as follows....

newval=oh.link("linkname").getroproperty("name")
objectheirarchy.link("link name").setto
property "name","newval"

'here first we r getting dynamic changing link object
pro "name" by getro prop in to the variable...
'then we are make using that variable to set into or

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Should have experience in framework means?

1895


can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process

1783


what is impact analysis on regression testing?

2482


i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.

2022


Tell me about your project? please help me how to tell about insurance project

2001


When Recovery scenario actually starts while testing the application?

2032


How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?

4606


There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?

2018


is it possible to add sheets to excel at runtime

4031


What does mean by Scope of Automation?n How we defined it?

2046


how to test Web application using QTP software

2030


What is action? How many types of actions are there in qtp?

1098


How you can delete excel file in qtp?

1075


What is clean sweep?

1832


Suppose I have three hyperlinks with same properties. How to solve this and what are the ways to solve this. we can solve this by using index property but what are the other ways we have have to solve this problem. Login (href: btnlogin.aspx) Login (href: Sourcelogin.aspx) Login (href: homelogin.aspx)

1982