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

hi, Can any body tell me whats the difference between the QTP and the Rational Robat ad the Silk Test and LOad Runner and are they used in any Company On the Major scale bcas I finnf Many comapny Using the Manual Testing Only Hence Askin the Question Hope I will get the Assitence .

1 Answers   First Europa,


Hello Everybody, How to maintain the page state in QTP. My scenario is: 1. I opened a notepad file. 2. Entered some text in the notepad file. 3.And changed the font type and color of the notepad file. And saved that. 4.Now next time when I will open the notepad it is showing the changed font type and color, rather than the default values. Please provide the code. Thanks, Gaytri

5 Answers  


Suppose i have a script which is having 100 lines.I want to execute that script starting from line no 75.means first qtp should read the script from line no 75 how can u do it.

5 Answers   Lehman Brothers, rsystems,


What is the diff between image and bitmap check point?

0 Answers  


My company has recently started using Ajax for building UI and QTP is nor recognizing the drop down list for selection.It recognises it as a general Web Element or Web Table. I have added individual selections from the drop down as web Table. It works as long as the page is not refreshed. I need some help and inputs as to how to make QTP recognise a drop down list for selection. Any help will be appreciated.

1 Answers  


Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter

0 Answers   TCS,


What does it mean when a check point is in red color? What do you do?

0 Answers  


HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?

0 Answers   Wipro,


what is Function Definition Generator? can any one explain me in details?

6 Answers   Accenture,


How to retrieve the property of an object?

1 Answers  


What are the enhancements u did after recording ur script?

1 Answers  


how to get font size of a "WebEdit"

3 Answers   L&T,


Categories