A Siebel button is so customized that when I click on that button it must show an pop-up/alert. Instead it is going to another page which is not the intended page.
Points to note :
1) THIS BUTTON is on a particular tab of a particular Siebel applet(Here Siebel applet is same as Web Table). When we navigate to this particular tab, this button on the applet BLINKS(means disable(freezed) and then enabled) and then we have to click on it, after it is enabled.
2)Manually we can see the BLINK so it is not giving any problem clicking on the button manually.
3)But when working with QTP it shows unintended page because when proper wait is not given it clicks the button before the BLINK happens.
4)Here wait time cannot be determined properly( i.e. the time after which it will complete the BLINK operation.). Have given waits from 3 to 10 seconds.
Used the following options :
a)The Statement :
SiebApplication("siebAppPGT").SiebScreen("siebScre enSalesOrder").SiebView("siebViewLineItems").SiebA pplet("siebAppletLineItems").SiebButton("siebButto nCustomise").Click
This Siebel Click always gives unintended page no matter whatever wait you give.
b)Used this statement also:
It worked sometimes but still out of 10 times it passes 5 times and fails 5 times.
c)Also Used send keys to click the button but sometimes it passes , sometimes it fails.
Can you please help and suggest some solution.
Waiting for your inputs as soon as possible.
Note : The period of BLINK(i.e disable and then enable) is also not fixed.
Finally found the solution :
Setting.WebPackage("ReplayType") = 2
This Worked and alert was shown.