Forum Discussion

mmadaan's avatar
mmadaan
Occasional Contributor
14 years ago

Some links are not clicked when automated through NativeWebObject in Version 7.5.2

Some links are not clicked when automated through NativeWebObject in Version 7.5.2

But it was working fine with the version 6.0





Code:


Set no_thanks_link = w1.NativeWebObject.Find("href","*onlinema/nothanks-edit.act?*","A")


no_thanks_link.Click()





Result:



Link is not clicked and we are getting the following message in Logs:



Type Message Time Link

The window was clicked with the left mouse button. 2:09:43 



Remarks:

A click at point (63, 21) with no key pressed.


Sys.Process("iexplore").Page("https://www.feitest.com/maenroll/webenrollment-edit.act?t=8138107072251292545509704&s=Tst6b585f8f2c55af8&pact=maenroll.start&br=556").document.all.Item("btnOkTop")



But some other links are clicked through the following code.



P.S: we are not able to click these links even through DOM

2 Replies

  • Hi Mohit,


    Try using the Refresh method before calling the NativeWebObject.Find method (see the "Refresh Method" article). If the problem persists, let me know what browser you are using (its name and version). Besides that, could you please save your tested page to the MHT format and send it to me via our Contact Support form? I will try to reproduce the problem on our side.

  • mmadaan's avatar
    mmadaan
    Occasional Contributor
    Hi Allen,



    The problem persists even after using the Refresh method.



    Browser: Internet explorer

    Version: 7.0.5730.13



    Actually i'm not provide you with the MHT file due to some security issues. I'm working with my team, that how to reproduce it to you.