No CAPTCHA reCAPTCHA always popup picture selections - java

I have implemented google No CAPTCHA reCAPTCHA in my spring web application.When ever i click check box it always shows pop up of picture selection.This not only once every time when i click check box it pops picture selection.
Is this right working of recapctha.
Please give me some reason why it is happening like this.is there issue with my working code or what might be the reason .Please help me on this.

Related

How to open an android app from my website with a dialog box?

I tried this
intent://my_host#Intent;scheme=my_scheme;action=my_action;
and it's working.
but i need a dialog box like this image plz some one help me!
I think you can put, an event on the click, and open an modal like the image, if the user click on button 'open' so you redirect the user to your url intent://my_host#Intent;scheme=my_scheme;action=my_action;

Actions class sendkeys down-arrow does not work in any browser

enter image description hereHi,Iam new to selenium and java testing. Iam trying to right click on google.com about link and open the link in new window. Up to right click my code works fine. When I send down-arrow nothing happens in the browser. Can anyone tell what's wrong with the code. I have tried it in all different browsers.

Selenium doesn't load the entire page

I guess I'm having a weird issue since I didn't see anyone having an issue like this.
After I click on a button that is supposed to return me a new page, it only returns me the text, no CSS, no images nothing but just text.
I wish I could add a screenshot, but it is an internal tool and unfortunately I'm not allowed to post it.
Have anyone else had an issue similar to this before?
Thanks in advance

Selenium Web Driver click action

I have a code in selenium which dynamically clicks on the tabs in menu page. And sometimes happens that tab is not clickable(it is just a plain td with span inside) and when Web Driver tries to click on this tab, my program gets frozen (no exception thrown or anything).
I can't avoid clicking on tabs like that but I would like to somehow prevent that freeze after click. So can I set some timeout or tell to selenium what to do if element is not clickable?
driver.findElement(By.xpath(
format("//span[#class='rf-tab-lbl'][text()='{0}']",
navigation.getGroup()))).click();
//if the tab is currently selected (hence is not clickable) selenium won't click
// on it and program freezes
Please try another page from a different website. It might be a JS looping issue.
I encountered such an issue in HtmlUnit for some URLs.
I raised issue in HtmlUnit user group.
They told me that JS infinite loop was causing freez.
Time out did not work for me as well.
I tried to apply my own time out. That did not work too.
Refer following question for applying own timeout
HtmlUnit WebClient Timeout
If it works for another website, problem might be site specific.
You can attach source of Selenium in eclipse and check / debug where it is getting stuck.
I did same for HtmlUnit. I reached to parse method, which did not come out.
If still does not work, contact Selenium support.

Adding spinning tool in jDialog in java

I am working in a desktop application. In my application i am performing login operation where user enters his id and password. Login page is created in java swings using jDialog. When user enters his credentials, it takes few minutes to validate user. i want to add snipping tool with message "Please wait" which will be display, when user click on "next" button.
I didn't get any swing control which can be used as snipping tool. While searching i got some idea that ajax loader.jpg can be used as a snipping tool but not getting how can i use it in my jDialog.
Please suggest me some way to add an snipping tool.
There is spinning tool available in ajax that can be directly used by putting a lable in jPanel/jDialog and importing it as an icon image.
Here is link where you can get ajax spinning tools
http://www.andrewdavidson.com/articles/spinning-wait-icons/
Thanks for your valuable suggestions and response.
You can use a JProgressBar doing a bucle and changing the progress value.
Also take note that SwingX project offers a login dialog that does it for you.

Categories

Resources