Can any one give example on Regular Expression by using GUI check point for Object/Window,(i tried like this,1st i captured an edit box which contains values ("john") and after that i changed the "janni" and in the regular expression property i gave "J.*" ,"!J*" i tried these two but the test is mismatching!

Questions by koti_mcm06

Showing Answers 1 - 6 of 6 Answers

pavan

  • Apr 25th, 2006
 

Hi mr koteswara rao

give the regular expression like this

logical name  john/jhanson

{

label :

attached text : "!j.*"

}

pavan

pavan244541@rediffmail.com

  Was this answer useful?  Yes

siva

  • May 11th, 2006
 

Hi

       I saw in your answer ,Can u Explain detail in regular Expression.How Can i implemented in particular projrect what is the usages

Thanks

Siva

  Was this answer useful?  Yes

nil

  • May 12th, 2006
 

Regular expressions  enables winrunner to identify objects with verying names and titles. You can use regular expressions as physical description of an object in the gui map, gui check points and text check points.

  Was this answer useful?  Yes

A regular expression is a formula for matching strings that follow some pattern. They provide a mechanism to select specific strings from a set of character strings.For eg. In an application I have a window, whose label/logical name is dynamically changing, i.e. during recording the label is different & during playback the label is different.In such case winrunner can't identify the window during playback. To make winrunner identify that window we use regular expression.

  Was this answer useful?  Yes

kvkreddy79

  • May 17th, 2006
 

for regular expression example when the names r windows changes frequently we can use regular expressions. in this we can use two symbols.they are . and * .(dot),* (asterisk)ex: for changing names we can put this as [ a-z A-Z ].* means any number of charecters used anytimes. here . indicates any times, * indicates any times

  Was this answer useful?  Yes

kranthi kumar

  • Jun 26th, 2006
 

Can anybody explain how to use Regular expressions for GUI check point for a text object in winrunner ?? Can we use this to test whether a text box is accepting the expected data or not?If yes please tell me the process?

Thanking you

kranthi

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions