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 |
what is run-time object in qtp? explain with example?
Write a script to customize the test results in PDF and HTML format.
If I give some thousand tests to execute in two days what do you do?
Explain about the Test Fusion Report of QTP ?
w is descriptive programming
How many actions we can create with in a test?
The hybrid framework can be implemented for any application. Is it true?
Diff B/w Webserver and Client Server
Hi friends I am new in Qtp. now i am Searching on Qtp give real time inter questions with answers.pls help me
Will QTP Support Japanese Language?
3 Answers Cap Gemini, Infosys,
Hi Friends...this is surendra..recently i joined automation team ...Please send me some documents regarding VB script ...and where can i learn VB script... This is My mail id: surendra.mamilla@gmail.com... please send to my mail.... Thanx in advance surendra.
Hi I am new to QTP. we are planning to implement automation for the application. I am trying to execute the following script: Set ExcelObj=CreateObject ("Excel.Application") ExcelObj.WorkBooks.Add Set NewSheet=ExcelObj.Sheets.Item(1) NewSheet.Name="Order" ExcelObj.Cells(1, 1).Value = "Name" ExcelObj.Cells(1, 2).Value = "Ordernum" ExcelObj.Cells(2, 1).Value = "nam" ExcelObj.Cells(2, 2).Value = "21" ExcelObj.ActiveWorkbook.SaveAs "c:\test1.xls" ExcelObj.Quit Set ExcelObj = Nothing in the above script for the line(ExcelObj.Cells(2, 2).Value = "21") it is inserting the value 21 successfully.this is fine But if i want to insert a variable instead of the constant value then what should be the modification in the script. For example: If user retrives a value throug "GetRoProperty" and wants to insert the value into then how the script changes?