Forum Discussion
TanyaYatskovska
10 years agoSmartBear Alumni (Retired)
Hi Prabhat,
How are you accessing elements on the drop-down menu? Can you post here a short sample?
Try using the Wait methods to obtain the opening menu and, only after this, perform the click on the needed item, like this:
var obj = page.form.panel.Click() // the click invokes the drop-down menu
var menu = page.form......WaitPanel("PanelName", 3000) //obtain the drop-down menu
page.form....Panel.Item.Click()
Please refer to the "Waiting for an Object, Process or Window Activation" article to learn more about the suggested approach.
How are you accessing elements on the drop-down menu? Can you post here a short sample?
Try using the Wait methods to obtain the opening menu and, only after this, perform the click on the needed item, like this:
var obj = page.form.panel.Click() // the click invokes the drop-down menu
var menu = page.form......WaitPanel("PanelName", 3000) //obtain the drop-down menu
page.form....Panel.Item.Click()
Please refer to the "Waiting for an Object, Process or Window Activation" article to learn more about the suggested approach.
Related Content
- 8 months agoMehwishDaud
- 2 years agomattb