Is it possible to change the name of a test object. I mean
when we are recording the script for an object (for Ex:
Username is a text field which has value "Babu",i am
recording that). Then the Name of the object will become
"Babu" in object repository. If i want to change "babu" as
"xxxxx" .. is it possible to do?

Pls help me in this .. if you didn't understand the
question, pls let me know.

Answer Posted / shaik mohinuddin

By using Regula Expressions :

Go OR ->property value and press configure button then it will open value configuration options window and select constant radio button selected by default and we can put. * and select check box like Regular Expression and click on ok

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between design time and run time data table?

843


Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?

1734


how to evalute defects in QTP script?

1740


hi, can u tell me the QTP TEsting process in present real time companies?(beware of this... now a days Recording is not using,, only DP) and don't tell note book answers like step 1 spep2....like this .......post answer with professional skills in simple english words) thank u

1566


write a script to verify the image path(src property) of the images which are in web pages.

2009


can i compare two databases using QTP ?

2177


Does quicktest professional (qtp) is unicode compatible?

801


Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?

3201


What is object repository in qtp?

804


Give the syntax to import/export xls into qtp.

821


How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If

2814


when a test case is written how u test using qtp

1910


What is ‘object spy’ and what is the function of object spy in qtp?

787


what frame work you are following?

1720


I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }

2035