How do u write regular expression for a window name which
is changing for each build ? i.e. in first build the window
name is : "computer graphics are very ...." . in second
build the window name is : "computer graphics can be
created" . - Appreciate proper replies

Answers were Sorted based on User's Feedback



How do u write regular expression for a window name which is changing for each build ? i.e. in fi..

Answer / venkatabala

Right answer is :computer graphics.*
It works perfectly

Is This Answer Correct ?    2 Yes 0 No

How do u write regular expression for a window name which is changing for each build ? i.e. in fi..

Answer / uday

I think the right answer is "computer graphics.*".

Here ?.? means any single character and ?*? means 0 or more
occurrences of preceding character. So .* means 0 or more
occurrences of any character.

Is This Answer Correct ?    0 Yes 0 No

How do u write regular expression for a window name which is changing for each build ? i.e. in fi..

Answer / venky

.* is not working for window changing its name completely for
example "abc" to "xyz" in next build. suggest some other
solution.

Is This Answer Correct ?    0 Yes 0 No

How do u write regular expression for a window name which is changing for each build ? i.e. in fi..

Answer / sandipgami84

computer graphics.*

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

What is the difference between Action and Function.? when both has the same functionaltiy, when do we choose Action and when do we choose Function..??

3 Answers   DST Global Solutions,


What is the difference between Call to Action and Copy Action.?

2 Answers  


write a qtp code to display all the items in the fly from combo box or list box

3 Answers  


How to maintain the old scripts in QTP?

2 Answers   Olive Tech, Wipro,


what is descriptive.create()in qtp?

3 Answers  






how will you load the test cases in ddt?

0 Answers  


Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?

0 Answers  


what is stepin & stepout?

0 Answers  


How to supress warnings from the "Test results page"?

6 Answers   BirlaSoft,


How to call .vbs functions in QTP? plz Explain indetail

4 Answers   Wipro,


hi i have one isuue on selecting webcheckbox .there are 15 wecheckboxex i want to select every time 9 th one how can i select plese help me regards balaji

4 Answers  


how to run the script If QTP tool not identify object in web page

2 Answers  


Categories