An error occurs in the setting in BigQuery's DataTransferService - google-bigquery

Click on "ttransfer" in BQ's WebUI, enter customerID etc and press "add", the user's selection will appear.
If you press "next" on the next screen, you will return to BQ's webUI and the following error message will be displayed:
Error when creating new transfer
How can I fix this?

Most likely, there was an OAuth popup that was popup blocked. Please check.
Here are instructions if you are on Chrome:
https://support.google.com/chrome/answer/95472?co=GENIE.Platform%3DDesktop&hl=en

Related

Testcafe Browserstack IE11- Clicking on button doesn't work

Error: Button click doesn't perform action as expected, page is being Idle
Current behavior: It's clicking on a button but it's not performing any action
Expected behavior: Manually it works! expected the button click should move to the next page
Tried using Press key, hover, Client function for Selector
Unfortunately I couldn't provide more details of the application but I will appreciate providing workarounds
Seems like it was fixed in TestCafe v1.9.1.

How to handle dynamic error messages coming in an application

I am facing an issue while automating a web application at my work-place, and need helping advise to resolve the issue.
The application which I am testing is having a dynamic error popup screen which loads from the top whenever any error comes in the application. To be more clearer, let's say I am entering Username and password to login into application, and I took wrong username and password combination. Now, due to this a dynamic error drop down comes from the top. I am saying it dynamic because, as soon as I am trying to inspect the element, the error screen fades away. Now, due to this, I am not able to locate the element.
Sometimes, I got lucky and was able to inspect the element by right-clicking on that element. But then as soon as I reach to element tab, Error screen fades away, and not able to inspect the element.
So, I need help here to know how can I handle this dynamic error screen.
Any help will be appreciated. :-)
You can use devtools to pause:
1. Open app in chrome
2. Open devtools
3. Go to Sources tab
4. Trigger error and press F8 to pause
5. Go to Elements tab and locate error html
Two quick ways :
When you get lucky to reach until the elements tab after inspecting
the error, just copy the total div/span/error element's html code.
Paste it in a Notepad to locate the element with any strategy [like
xpath/css].
If the above could not help, then ask the dev to make the dynamic
error message to appear some more time and then you could locate
them correctly.

How to handle alerts in Robot Framework?

In my project, there is something called creating tasks.
Upon creation of tasks and I close the page, system prompts me an alert
"You are about to close this application and save all changes...."
followed by an OK and Cancel.
Using F12, am unable to detect neither the alert nor the OK/Cancel buttons. Please take a look in the image uploaded.
Personally I have never worked with alerts in tests so I might be wrong, but I think that keyword Handle Alert should be helpful for you.
http://robotframework.org/SeleniumLibrary/SeleniumLibrary.html#Handle%20Alert
Could you please try with Dismiss Alert or Confirm Action
For more details check the below link
http://robotframework.org/Selenium2Library/Selenium2Library.html#Dismiss%20Alert
Confirm Action
http://robotframework.org/Selenium2Library/Selenium2Library-1.8.0.html#Confirm%20Action
Try with the below keyword
Choose Cancel On Next Confirmation

selenium webdriver to identify the google play store popup

I was trying to identify the element in the google play store using firebug the element was identified by the firebug successfully but when I execute the selenium code it throws Invalid selector exception.
1. Login to playstore with the gmail account.
2. In the search box, type whatsapp and click on install button
3. It opens popup, I wanted to click on dropdown values and then click on install or just click on cancel button
For the cancel button, I wrote the following code:
driver.findElement(By.xpath(".//*[#id='purchase-cancel-button']")).click();
which is not working.
Try with below cssSelectors
By.cssSelector("button[id='purchase-cancel-button']");
Or
By.cssSelector("div.modal-dialog button[id='purchase-cancel-button']");
This item is currently invisible so you have to make a delay for a couple of seconds, f.e.
`
(driver.find_element_by_xpath(
'//*[#id="body-content"]/div/div/div[1]/div[1]/div/div[1]/div/div[3]/div/div[1]/span/span/button')).click()
time.sleep(4)
(driver.find_element_by_xpath('//*[#id="purchase-ok-button"]')).click()
`

Extjs SyntaxError: invalid property id

I have an Edit button, but when I click on it, instead of the Edit User popup window appearing, I get a JavaScript Error, namely 'SyntaxError: invalid property id'. This is what I get when I run in Firefox.
However, when using Internet Explorer, clicking on Edit button generates the following error: 'Microsoft JScript Compilation error: Expected identifier, string or number.' Again, no Edit User popup window appears.
It seems that something is wrong in the way the Edit User popup window is sent back. Tthe code executes and shows the loadMask msg 'Please wait...', but the Edit User popup window is not displayed. Any tips on how to discover/fix the error would be appreciated.
Solved it! The response.responseText returned the Edit User pop up (i.e. the edit.vm file). There was a random % sign in the edit.vm file which was causing the problem.