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
Answer Posted / 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 |
Post New Answer View All Answers
I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)
Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.
What is the extension of the recovery scenario file in qtp?
What is Distributed testing? How does UFT support it?
What is ‘object spy’ and what is the function of object spy in qtp?
How software automation specialist enter steps in the Expert View?
What are some test assets and related extensions of qtp?
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
How to integrate the qualitycenter with qtp
What is the basic concept of quicktest professional?
Hello Everyone, Please provide me the practical example of business component concept of QTP.Like how to create business component,how to connect the quality center etc.... Thanks in advance, Gaytri
What are the challenges u faced in testing with crm domain? How u overcome with?
How to handle Java tree in QTP?
i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression
whare exactly we have to use functions and sub routain