01-21-2008, 09:24 PM
Web based application : qtp not recognised some object. eventhough i have add the object in object repository, does not recognise some object
see the script
When qtp execute the line no 7 this error messag window is display
When add the line no 7 object, in object repository at the time object name is worngly display. see the attachement.
see the script
Code:
1.Browser(".:: e-IPO System ::.").Page(".:: e-IPO System ::.").WebEdit("txtClientCode").Set "456"
2.Browser(".:: e-IPO System ::.").Page(".:: e-IPO System ::.").WebEdit("txtClientName").Set "sfsdfsdf"
3.Browser(".:: e-IPO System ::.").Page(".:: e-IPO System ::.").WebEdit("txtClntShortName").Set "sfsdaf"
4.Browser(".:: e-IPO System ::.").Page(".:: e-IPO System ::.").WebList("cmbBranch").Select "COIMBATORE"
5.Browser(".:: e-IPO System ::.").Page(".:: e-IPO System ::.").WebEdit("txtDpid").Set "12345678"
6.Browser(".:: e-IPO System ::.").Page(".:: e-IPO System ::.").WebList("cmbCategory").Select "QIB"
7.Browser(".:: e-IPO System ::.").Page(".:: e-IPO System ::.").WebList("cmbClientType").Select "Financial Institutions"
8.Browser(".:: e-IPO System ::.").Page(".:: e-IPO System ::.").WebEdit("txtPanNo").Set "44444"
9.Browser(".:: e-IPO System ::.").Page(".:: e-IPO System ::.").WebEdit("txtBeneficiaryid").Set "54545644"
10.Browser(".:: e-IPO System ::.").Page(".:: e-IPO System ::.").WebList("cmbMainactcode").Select "AIG GLOBAL INVESTMENT CORPORAT"
11.Browser(".:: e-IPO System ::.").Page(".:: e-IPO System ::.").WebButton("Submit").Click
When qtp execute the line no 7 this error messag window is display
When add the line no 7 object, in object repository at the time object name is worngly display. see the attachement.