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...


I'm quite new at QTP. Im doing a web-based app testing. I
create something new item and a new link is created in the
home page. This link is dynamic as it changes every 3
seconds. Obviously the new link is not in my Object Repo
and I am trying to find a way how can I do a check or get
the propery of the link I created. I can do it on keyword,
but I need to do a check on expert mode, vbscript. I always
get an error that is not identified whenever i try to check
it (browser(b),page(p).link(newlink). Any idea?

Answers were Sorted based on User's Feedback



I'm quite new at QTP. Im doing a web-based app testing. I create something new item and a new..

Answer / qatechie

I think using descriptive programming can provide you a
solution.
Try to create a Description object for the link. Since the
url/link is dynamic, use the regular expression to find this
link on the homepage. I am not sure, if I answered your
question but think this as one possible solution.

Is This Answer Correct ?    1 Yes 0 No

I'm quite new at QTP. Im doing a web-based app testing. I create something new item and a new..

Answer / saff5005

i thinck u need to enable smart identification mechanism
which identifes the object by its properties ,
so for doing this ,steps are as follows

1)Choose Tools > Object Identification. The Object
Identification dialog box opens.

2)Select the appropriate environment in the Environment
list.
3. Select the test object class you want to configure.
4. Click the Configure button next to the Enable Smart
Identification check box. The Smart Identification
Properties dialog box opens:


choose what ever properties u want to give to base filter n
optional filter .and then run the test

correct me if i am wrong

Is This Answer Correct ?    1 Yes 1 No

I'm quite new at QTP. Im doing a web-based app testing. I create something new item and a new..

Answer / pravati

use Descriptive dynamic programming and use the property in getroproperty which is same for every new link.also use smart identification,and Regular Expression

Is This Answer Correct ?    0 Yes 0 No

I'm quite new at QTP. Im doing a web-based app testing. I create something new item and a new..

Answer / babu

Create a output value for that particular link and store it
in a Action/Gloabal Datatable. Store that link in to a
variable. Using Settoproperty, set that stored link value
to "Value" parameter.
Change the link name in the object repository as well and
pass the same link name to the link method.
Whenever the link is changed, that link will be stroed in
the datatable and the value will be set to the link object.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

How to match two doc files using qtp requirment is:- each and every single word of a doc file should be matched with the another doc file. can someone send me the code.

1 Answers  


How u do the back end testing in QTP?

2 Answers   HP, SunGard, TCS,


How you can delete excel file in qtp?

0 Answers  


Explain QTP Testing process ?

13 Answers   TCS,


How to insert screenshot on to the body of outlook? -1 how to use insert-picture tab in new email outlook to insert image in the body. Suggest something.......

1 Answers  


what is the latest version of QTP? Main difference between 9.2 and 10 version

0 Answers  


Hi, Can we open a test in qtp10 which is saved in qtp 9.2?

0 Answers  


How to test a web application using QTP?there is no any .exe file in web app,then how we can take the application for testing

2 Answers  


What is the Command used to start the QTP

0 Answers   HCL,


We need to verify the user name & password in for the user validation. But we don't want to use the parameterization/ loop for user name and password. What is the way in scripting so that user & password will generate automatically.

11 Answers   Tech Mahindra,


Explain me in deatail about DATADRIVEN framework including scripts ?(realtimes plz)(Chandana)

4 Answers   Wipro,


Write code for ,We have a web table with rows and columns like EmpID EName Action 1 ABC Edit Delete 2 XYZ Edit Delete 3 PQR Edit Delete In the above Table the last column has two links we have to click first link based up on EmpID =2

2 Answers  


Categories