somebody please say me why we go for using regular
expressions,actions.what is the main and exact use of this
in real time applications.real time testers pls answer my
question with example if u can

Answer Posted / sri

Regular expressions will be useful when you know the object
properties are dynamic and they change frequently.

For example in aweb page you know logical name of an object
changes ,like say CompanyStocks to CompanyMf

For the same you can specify as Company.* under Logical
Name.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I check if a environment variable exist or not?

539


How can you pass value one action to another action?

555


What is the extension of the recovery scenario file in qtp?

546


if mandatory and Assitive propertys are shows same how will u write skript in QTP window

1624


I have two For loop, first For loop does is creates a customer and input the customer info and then the second for loop within the first for loop does the follows which is capture the customer name and verify the with the data within the datatable. The problem I am coming across is that when it goes through the second time creating another customer and then verify the second customer then it creates the following during runtime. I want is to have the customer2 below Customer1 under the Customer_from_Apps. Any help will be greatly appreciate it. Customer Customer_from_Apps Customer_from_Apps1 Customer1 Customer 1 Customer2 Customer2 Window("Customer Desktop").Window("Customer Tracking (Privacy").WinObject("TreeView20WndClass").Click 92,244 runtimevalue = .VbTreeView("vbname:=AppServerTree").GetROProperty("Selectio n") Customer_Val= Datatable.GlobalSheet.AddParameter ("Customer_from_Apps",runtimevalue) row=datatable.getsheet("Global").GetRowCount For x=1 to row datatable.SetCurrentRow(x) Data_Val=Datatable.Value("Customer",dtGlobalSheet) If (trim(Customer_Val)=trim(Data_Val)) Then Reporter.ReportEvent micPass, "Customer validation successful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val else Reporter.ReportEvent micFail, "Cusotmer validation unsuccessful", "Actual Value: " &Data_Val&vbcrlf& "Customer Value: " &Customer_Val End If Next

1334






Why do we use breakpoints in QTP?

582


iam working in QTP for 2+ of exp if i attend the interview what r questions asked in perfomence testing{loadrunner} ? pls any one can say answer to this question?

1605


How to execute a winrunner script in quicktest professional (qtp)?

519


I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

1728


Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out

1584


How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?

572


How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.

1813


hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.

1836


Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,

1379


What are the views available in qtp?

587