i am trying to validate a specefic list item, but when i track the list with the spy ranorex detects the role as unkown and i cant even get the list items with spy. Here is the image of ranorex Spy
Related
How can I get a list of tests(not test cases) that are assigned to me to be display on the dashboard like the [Work assigned to me] widget?
It seems that the work assigned to me widget only display the list of work items not tests, I assumed tests are the child item of tests cases.
Thanks in advance!
*note I have project admin access.
I'm relatively new to Selenium testing. I have a React SPA I want to create Selenium tests for. I can work with locators and such, but I don't know how I can make the test wait for certain events.
I.e.: The test opens a page where I have a list that is loaded via an API. I need the test to wait until the content is loaded. How can I indicate this to the test? I may be able to check the spinner and wait until it disappears, but there could be situations when the spinner doesn't even appear. Besides, I need to handle events when there are no elements in the list or when there is a communication issue with the API. I really don't want to rely on user messages and spinners.
Should I create an DOM element which is invisible to the user and fill it with the event result so the test can read it? This also doesn't seem a good solution for me.
I am trying to load through the information about each stock page in investing.com starting from the drop-down list of "Dow Jones Industrial Average" on page investing.com/equities
I have been thinking about using scrapy with
options = response.css("select[class=stocksFilter] option[id=166]")
but this does not simulate a selection action.
After the selection action, I will be going through the table items one by one in #cross_rate_markets_stocks_1, and crawl those equity pages recursively
Can you point out how to simulate a click action?
The selection action is user interaction with the browser UI, but scrapy doesn't render a webpage, we cannot simulate user interaction or run Javascript with it. However, if you're interested in crawling by simulate user interaction, selenium might be a good tool for you.
Back to the question, if we are to crawl with scrapy, we should focus on requests and responses sent to/by the target website, you can log them in the Developer Tools of your browser. After you opened the Developer Tool, click the dropdown menu, you can see the corresponding request is sent to this url:
https://cn.investing.com/equities/StocksFilter?noconstruct=1&smlID=0&sid=&tabletype=price&index_id=166
It's a GET request, with index_id assigned with selected stock ID, you can get the stock ID and name from HTML element of https://investing.com/equities
'xpath of stock ID: //*[#id="stocksFilter"]/option/#id'
'xpath of stock Name: //*[#id="stocksFilter"]/option/text()'
The custom list app is a nice app, to show a list of items that are currently in Rally.
What I would like to get out of this list as well, is UserStories and Defects from previous Iterations.
A page can be easily setup where you have an iteration filter on top, then a list app underneath. When the page is set to show closed / past iterations it should show the user stories and defects that have been previously assigned to the applied iteration (even if they have another iteration set currently).
Is such an app available? Searching a bit did provide any usefull apps,
Blocking history seems to do a little in that area, but looks only at things that had a blocker flag set:
https://github.com/RallyApps/app-catalog/blob/master/src/legacy/BlockingHistoryApp.html
The List from this app on the other hand cannot be modified, therefor I want to combine history with the Custom Grid app as provided by Rally.
Regards
What about the Iteration Scope Change app?
Source here:
https://github.com/RallyApps/app-catalog/blob/master/src/legacy/IterationScopeChangeApp.html
It's available directly in the app catalog in the product as well.
Can you help me to identify element ID or any other locator of timeline composer in Facebook profile ?
I need this to use in Robot framework with selenium2library to post something on my wall.
I can log in to Facebook, navigate to profile, but I cant input text into timeline composer. I tried to use Click element before inserting text, but no success.
I am using "inspect element" in browsers/firebug add-on to identify elements.
In this case, unfortunately all locators I have tried giving errors like:
Element does not appear in 5 seconds
or
Element must be user editable in order to clear it
Non dynamic locator for FB timeline-composer has name "xhpc_message_text" (18.10.2016)
Input text name=xhpc_message_text test