Using the WinRunner Tool What that Regular Expression Scripts
Answers were Sorted based on User's Feedback
Answer / sujeet r.
Regular expression
When the winrunner script refers to a window whose title
changes dynmically (for eg. the scri[t contains a statement
Setwindow ("Order Form No. 265")
Lets say when the script was recorded, at that time the
title window was Order Form No. 265
The next time when the script is run, the title changes to
Order Form No. 266 then the script is going to error out
saying that it could not find the window.
In such a case you can use Regular expression.
Click Tools->GUI Map Editor and then in the properties of
that object in the logical name type
#Order Form No.*
Simply enclose the title in # and .*
This will not update the script though
So whenevr the title of the window changes dynamically,
winrunner will not give an error that the window could not
be found.
P.S. : Any inputs are welcome
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / shilpa
You are using #Order Form No.*
that means you are commenting the whole line.
So this line doesnt work at all right?
Wont this be an error?
Is there other alternative to this?
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sujeet r.
Regular expression
When the winrunner script refers to a window whose title
changes dynmically (for eg. the scri[t contains a statement
Setwindow ("Order Form No. 265")
Lets say when the script was recorded, at that time the
title window was Order Form No. 265
The next time when the script is run, the title changes to
Order Form No. 266 then the script is going to error out
saying that it could not find the window.
In such a case you can use Regular expression.
Click Tools->GUI Map Editor and then in the properties of
that object in the logical name type
#Order Form No.*
Simply enclose the title in # and .*
This will not update the script though
So whenevr the title of the window changes dynamically,
winrunner will not give an error that the window could not
be found.
P.S. : Any inputs are welcome
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vanaja
Is we can also use the sysntax as "order form No !.*"
Can you please verify this ?
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / sujeet r.
Regular expression
When the winrunner script refers to a window whose title
changes dynmically (for eg. the scri[t contains a statement
Setwindow ("Order Form No. 265")
Lets say when the script was recorded, at that time the
title window was Order Form No. 265
The next time when the script is run, the title changes to
Order Form No. 266 then the script is going to error out
saying that it could not find the window.
In such a case you can use Regular expression.
Click Tools->GUI Map Editor and then in the properties of
that object in the logical name type
#Order Form No.*
Simply enclose the title in # and .*
This will not update the script though
So whenevr the title of the window changes dynamically,
winrunner will not give an error that the window could not
be found.
P.S. : Any inputs are welcome
Is This Answer Correct ? | 0 Yes | 2 No |
Hi,i cleared the first round in Microstrategy and my second round(project manager) is scheduled so can any one tel me what r they asked and gv me some steps how i wil tel them?
My husband had stampped h1b visa and was valid for another 1year. problm is that he lost his pasport in travelling and we got new one in tatkal scheme. and so we applied for restamping and my dependent (h4)visa. As per immigration team petition will be the same only stamping has to b done.. what questions will they ask and what are the chances to get it aproved?? pl reply
what is cookies testing and what are the possible test case.
How should we create a compiled module? What is its importance?
how to test the websites using winrunner iam pactising in winrunner version 7.0,how to get new trail version of winnrunner?
If I dont have GUI spy on my machine how I do I manage to map my custom object properties
What is parameterizing?
What is the purpose of gui map configuration?
what is mean by release in quality center and who will perfom?
What is parameterizing in winrunner?
What is the process of file parsing in winrunner?
What is the difference between QTP and WinRunner?