New answers tagged python
It rather sounds like your first port of call should be talking to your development team to find out exactly what processes are affecting the text entry. There's definitely something moer than you know if those steps aren't providing results.
Does your element put inside in iFrame? If it's in iFrame, you should switch driver to that. OR Could you try with element = driver.findElement(By.cssSelector("div.clearfix.stk_btm_toptabs.text-center>a.stk_btm_chpFlight.active"));
From a quick look at the site, it appears that you only see the elements in the source after you mouseover so first thing to do is enter "guragon" //Wait for the results WebElement autofill= wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("keyword_suggest"))); you will then need to iterate through the divs/spans below it to create a ...
you need to switch to desired window before printing the title: handles = driver.window_handles for ii, hh in enumerate( handles ): driver.switch_to.window(hh) print 'window %s has title %s' % (ii, driver.title)
For manually testing an API, I like Postman. It's a Chrome app so it won't tie into Jenkins as far as I know. API testing is pretty simple, though. You could write a simple framework that makes use of a Http Client that hits all your end points and performs assertions on the JSON responses.
Here's also a good list of Python test tools from automated-testing.info community.
Top 50 recent answers are included