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
Answer / venkatabala
Right answer is :computer graphics.*
It works perfectly
| Is This Answer Correct ? | 2 Yes | 0 No |
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 |
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 to retrieve the property of an object in QTP?
Using Object Repository is a advantage or disadvantage?
How to carry out bit map check points in QTP
What is the difference between link and hyperlink?
X=10,Y=20 you need to swap the numbers without using a third variable?
Hi, i am rani ,i am putting 1+years of fake exp ,so pls anyone explain how i get project (in real time) ? how it is tested ex: in banking ,test the number of textboxes in one window
What contains Data Driven Framework document in qtp?
While writing script using For Next Statement in QTP, I try defining the variable in Lib File I am getting syntax error whereas if I use the variable in script file, the script works fine. Can anyone help me in finding the reason behind this?. E:g Dim intStartRow (Define in Lib File----- say abc.vbs) Dim intRow (If I define this variable in Lib file I am getting Syntax error where as if I define in the script file ---- say xyz.mts the script works fine) IntStartRow=2 For intRow = intStartRow to xlWrksht.UsedRange.Rows.Count ‘Some Code here Next
How can we open an Excel sheet through the script
suppose the given string str = {"vamsikrishna%%&%*&**"} count the no of vowels and special characters are repeated
How to use setroproperty?
can we enable smart identification for test object