Closed AnnneN closed 5 years ago
I'd assume one has to select the tab first before one can interact with the ui elements contained within it. See Select Tab Page
and Select Tab Page By Index
@ http://omenia.github.io/robotframework-whitelibrary/keywords.html
Hi Jani, I tried clicking on tab first and it didnt worked with above commands , though worked with "Click Item". Here control type for tab =tab item
Also I noticed when I clicked on tab, pane (p1) as above appears in which radio button is located. I believe ..i need to select pane, could you pls help. ControlType: UIA_PaneControlTypeId (0xC371) LocalizedControlType: "pane"
Placing clear shot
Here ticked in Blue are achieved while yellow ones are pending. Could you pls guide how to click on "Pane" and then transverse to radio button.
Thanks Naina
There's a good chance that this does not work. Ive read few issues describing similar scenario and even with directly using teststack white, only way forward was doing mouse interactions with absolute coordinates. I might be wrong though.
However, in order to rule that out, could you share the code so far that you tried to use to reach the output panne and the context within it .. Also, after selecting the "Output" panel from tab control, are you able to interact with the edit and text fields (Eg, ruling out that its the interaction within the pane that starts with D where the issue is..
Again clear shot
Thanks for looking into this. I noticed that Output panel appears only when I click on Output tab(dynamic in nature and true for other tabs too). In application Output panel is visible after clicking in output tab but strange is that they lie in same level at page level. For clicking on Output tab, I am using simple statement as below: Click Item text:Output
If I use Select Tab by Index, it also works ..here I have to use ""tab(1 level up all tabs) Select Tab by Index id:7890 5
I suspect that m not able to go into Output pane due to which not able to click S radio button. Any pointers to help here.
Hi Jani,
Any updates on above issue?
Thanks Naina
As said in previous comment, most likely feature is not currently supported and by the looks of it might require workarounds even in pure teststack white. I asked a question to rule this out, did you try, for example entering text into "text" and "edit" fields .. For now, i would just go with using mouse events. Which again, are not supported by us at the moment but wouldnt be too hard to implement. Patches welcome.
Closing this for now. Side note to @eeter - maybe we should check if there’s something we could add regarding tabs and dynamic content.
Hi,
I am unable to click on the radio button inside a pane using below statement
Attach Window title:New Select Radio Button text:S1
If I inspect, the structure looks below: S1(window) |tab |pane(p1) |__S1(radio button)
Below path:
Could you pls help here.