Where do we use Regular Expression? And what exactly
Regular Expression means?
Answers were Sorted based on User's Feedback
Answer / nani
Identify the object diffculty that time we are using reg exp
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / jhansilaxmi
When labels are varying in the builds we use Regular
Expressions to identify the objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / bala
Regular expression is a string that specifies a complex
search phrase.Regular expression enables to identify
objects with varying names or titles
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / prajnadipta
While dealing with Data Driver Wizard in WinRunner,the
major thing is that, it does not check for things such as
object levels.The wizard finds only the fixed point in the
test script.To overcome the object level problem Regular
Expression is used.
A Regular Expression is a string that specifies a complex
search phrase inorder to enable WinRunnerto identify
objects with varing names or titles.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / suneel reddy
Regular Expression is used whenever window labels are
changing continuously
example
when u r learing yahoo inbox(79) messages are there
while ur executing Inbox(80)
so window label changed
while running the script it may cause failure
so by defining Regular Expression we can control it
another example
when ur learning lohin page first it is Verify password is
there?
while executing it is invalid username
so label is different
ok na
do u got my point
| Is This Answer Correct ? | 0 Yes | 1 No |
What is the use of test director testing tool?
What is debug mode in Winrunner?
Are you created any custom dialog box during test runs?
tell me about compiled module & function generator
How to handle exceptions in for loop of DDT script.
Name the two modes of recording?
What are the synchronization points?
What is the purpose of Wdiff utility?
How does WinRunner recognize objects on the application?
What is Global GUI Map?
Have you created test scripts and what is contained in the test scripts?
Where are test cycle folders created if TSL Script is not saved