
- Forum
- Testing
- Software Testing
- QTP Script
QTP Script
This is a discussion on QTP Script within the Software Testing forums, part of the Testing category; How can we write script for dynamically changing values in qtp. note: without using Regular Expressinons. For eg: in my ...
-
QTP Script
How can we write script for dynamically changing values in qtp.
note: without using Regular Expressinons.
For eg: in my application there is a link like Festival.
This link can change dynamically like Christmas, Diwali, and Dussera….
But actually I stored in OR with link name as festival.
So wt we do to identify the link.
Without using Regular expressions how can we do?
Is there any solution for these one.
-
02-29-2008, 02:35 PM #2
- Join Date
- Jul 2007
- Answers
- 8
Hi,
I think u can use descriptive programing for this.
-
03-26-2008, 11:52 AM #3
- Join Date
- Feb 2007
- Location
- Hyderabad
- Answers
- 82
Script
Send the scenario (Properties also)
i will write a script.
-
04-04-2008, 02:04 PM #4
- Join Date
- Feb 2008
- Answers
- 2
Hi kalyan my email id is sushmadevi77@yahoo.com please email me how to write test plan and what document i should write before starting write test plan.
-
Descriptive programming is the way
-
07-04-2008, 02:47 PM #6
- Join Date
- Apr 2008
- Answers
- 8
use descriptive programming to create link dynamically
How can we write script for dynamically changing values in qtp.
note: without using Regular Expressinons.
For eg: in my application there is a link like Festival.
This link can change dynamically like Christmas, Diwali, and Dussera….
But actually I stored in OR with link name as festival.
So wt we do to identify the link.
Without using Regular expressions how can we do?
Is there any solution for these one.
use descriptive programming to create link dynamically ..
-
09-05-2008, 08:32 AM #7
- Join Date
- Sep 2008
- Answers
- 2
answer for ur question
Hi.
don't worry u can use descriptive programming here. below is ur answer
msgbox=Browser("browsername").Page("page name").Link("name:=festival,html tag:=A").tostring
before execute this plz check the available properties and methods of that link by using object spy.
-
hey can anyone tell me according to the rule negative test cases has to be fail. so if i'll write 10 positive & 10 negative cases .or i am working in some management tool it will generate 10 cases are failed it means 10 bugs over there .but they are not bugs they are result of negative test cases .....then this is report is become false or what
-
Sponsored Ads

Reply With Quote






