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 |
where can i get realtime projects
How to Get data from database(table) to an excel sheet
What is the winrunner version now..?
How to connect TestDirector from winrunner tool?
Please give an example for test case.
1,You have scripts in Qtp8.2 and some scripts 9.0 ..how to handle ?
Can we use the user defined functions (which inclues script with GUI functions) in Compile module? Example: public function MyGuiFun() { set_window(?Browser main window?); button_press(?OK?); } If yes. pls give some example, how to handle...!
Hai guys can any one tell me tnhe difference between the product testing and Project testing?
plz give me code or steps for pop up exception. or can u tell me how to pause test run for defining handler function?
what are Obligatory and Optional properties in Winrunner? what is the use of those explain in detail..
What different actions are performed by find and show button?
How do I use function File_Printf() to output a Space and a New Line? Thx.