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

can we run the scripts of qtp 8.2 in the qtp7.0?

2 Answers  


how do u copy object repository?

1 Answers  


What is .Ini file in QTP?

3 Answers  


What are objects? how do you select the unknow object?

3 Answers  


How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..

0 Answers  


Explain the concept of object repository and how qtp recognises objects?

0 Answers  


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

0 Answers  


I have to do testing for XML file using QTP. 1. I was given a sample XML, I had to edit that with my actual data and had to make a new XML-- this part is completed, I did that. 2. Now I have to copy the exact contents of that XML file and have to paste it in a web application as a request message for web appliaction processing, using QTP. So I am unable to copy and paste it in web application, please help me out.

1 Answers  


What are some test assets and related extensions of qtp?

0 Answers  


Could anyone please tell me one situation where you have used recovery scenarion in real time with an example?

4 Answers  


WHAT IS DIFFERENCE B/W QC 9.2 AND QC 10.0

1 Answers   SoftTech,


While testing .net applications with QTP 9.1 in normal recording mode, QTP records my unintentional mouse clicks and window dragging which I don't want. But I can't stop QTP recording those mouse clicks and window dragging. Can somebody let me know how I can get rid of it, please ! Thanks.

1 Answers  


Categories