How to differentiate the webedit field like user name and
password?

Please tell any other best answer is ther




Answers were Sorted based on User's Feedback



Answer / mudaseer

when we type user name it is displayed normally (not in encrypted form )but when we type password it is displayed as ****** (in encrypted form)

Is This Answer Correct ?    6 Yes 0 No

Answer / pravati

in object spy the email logical name is email,and the password logical name is password which is the property of the email and password and which is differenciate the email nd password.in descriptive programming u can take the getroproperty(name) it can also differenciate the email and password.

Is This Answer Correct ?    0 Yes 0 No

Answer / akhaleshyadav1985

Object webedit for user name and password having different
logical name and properties, as
for user name: P.name: name p.value: Usrname
for password p.name: name p.value: passwd

QTP recognized objects which have unique identification.



Thanks
Akhalesh yadav
9555717928

Is This Answer Correct ?    0 Yes 1 No



Post New Answer



More QTP Interview Questions

Pls anyone, tell me the script in QTP to find the number of links, and images in a webpage. Verry very urgent. I shall really be very thankful

3 Answers  


Suppose i have given 10 test cases all the test cases should be automated?

3 Answers   NTT Data,


how to find that tools work well with your existing system?

0 Answers  


I have recorded a test using qtp to download a file in an application. Code: Browser("MFA Work Queue Manager").Page("MFA Work Queue Manager").Link("Rules Maintenance").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebEdit("txtSearch").Set "PmtType" Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebButton("Search").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").WebButton("Export").Click Browser("MFA Work Queue Manager").Dialog("File Download").WinButton("Save").Click Browser("MFA Work Queue Manager").Page("Rule Maintenance").Sync Dialog("Save As").WinButton("Save").Click Dialog("Save As_2").WinButton("Yes").Click Problem: When running this test it gives an error at line no. 5 as Save button object is not identified by it's parent object. This code I ran 4 times after recording at it was working fine but 5th time onwords, it starts giving me the above problem. I used exist property option, Check Property option but none of this changes work at all. Kindly help...

1 Answers   Bank Of America,


How may types of defects identify application or your currently working application?pls give me answer..

0 Answers   Cap Gemini,






How to Identify broken links in QTP

2 Answers   Ness Technologies,


What is throw object?

1 Answers  


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com

0 Answers  


Among all the check points what is the most important checkpoint?

1 Answers  


How to load the object repository at run time?

9 Answers   TCS,


How to use regular expression in descriptive programming?

0 Answers  


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

0 Answers   TCS,






Categories