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
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 |
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 |
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 |
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 |
when u script reveiwing in which area u more concentrates?
When we use 'ERR' object to handle the exceptions in the script, do we need to include any statement in the beginning of the script..??
2 Answers DST Global Solutions,
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.
What is the Test Object model in QTP?
what we do after completion of functional and regression testing
If aclient comes to tester ask to bye a tool Keep aside about the cost,In what way we can choose the tool.
How to create log file in qtp?
HOW DO U CALL A ACTION IN QTP?
Tell me about userdefined functions ?
What are the recording modes in qtp?
With help of object repository,we can able to write the descriptive program manually?
Explain about import and export files?