in login module login button chage regularly(means login
button change to submit button).What is the code for it.
Answers were Sorted based on User's Feedback
Answer / ramchandra patil
Hi,
If the buttons label changes from login to submit then u can use descriptive programing by creating object without using label property. U can use below code.
Set objButton=description.create
objButton("micclass").value="webbutton"
objButton("name").value="namepropertyvalue"
Browser("").page("").webbutton(objButton).click
Pls let me know if u have ny doubt...
Ram
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / guest
1.Suppose some point of time ,test engineer will come to know,"login" button name changed to "submitt",then test engineer can intimate developer,if any changes are made by developer,it will affect testing also. we can request developer,if developer makes changes for the old fucntionalities,could u plz inform testing team?
according test enginner can change in the script.
2.If any button names are changed by developer,developer will intimate automation test engineer regarding about any changed made to object name usually.
Is This Answer Correct ? | 0 Yes | 0 No |
how can i pass parameters into function?
How we can call the scripit from another scripit in QTP?,Not a call Action
What are the properties you would use for identifying a browser & page when using descriptive programming ?
What are SetToProperty, SetRoProperty, GetToProperty scripting?
what testing activities u may want to automate?
How smart identification works in qtp ?
How can i learn Descriptive programming in QTP. Please reply.
I want to check in the data table(Globalsheet) column exist or not through script .If column not exist only proceeded to next step Pls tell me how to proceeded?
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?
QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue
what are the different Frame Works in Quick Test Proffessional testing
what is the purpose of .vbs file?