How can i catch the Recaptcha submission text in selenium - selenium-rc

This is my problem,I'm doing the automation test in selenium for Sign up a form, it has Recaptcha submission text,How can i enter they random text field in selenium. I'm using C#.
Anyone can help me please.
Thanks in advance
Sankar

We use a special sequence of character agreed with development do deal with that, and of course is disabled in production :) You may also suggest development to offer you a backdoor to achieve that. In our QA environment we have a backdoor web application to deal with this special situations.

Related

Testing IE on Mac using Selenium Grid?

Is there a way to do this? I am having issues setting up the company's VM, and was wondering if there is an alternative.
If you can afford you can go for Cloud based cross browser testing services like SauceLabs or BrowserStack.Both were easy to configure and works the same way grid works.All you have to do is give the remoteurl.You can try with trial license and see if it suits your need
You can see comparitive study of these and others here
It's Feb 8, 2017 and I'm using BrowserStack to do Selemium Webdriver testing using mocha/node, W7/8.1/10, and IE11 and there are several issues with the platform and ie webdriver (2.3, per their site), e.g. input fields are not in view by default, wrong chars are sent to input fields, etc. It is also slow. I might start looking into running grid if we cannot get better use and value out of $80/month charge.

How to write a macro to automate a simple task in web browser

I am proficient with web development languages like HTML, CSS, PHP, JavaScript, etc., but I've never written a macro for a desktop and don't know where to start. I was hoping someone can point me in the right direction.
At work, I perform a very repetitive task that involves the following steps:
Opening up a lead page in Salesforce (My company's web-based CRM client)
Clicking on the email button
Selecting an email template
Clicking the send email button
Opening up a new lead page and repeating steps 2-4
I do this for about 2-300 emails per day. It takes about an hour and a half, and I would like to automate this process as much as I can. I am on Windows. Is there a program out there I can use?
You can automate it with tools like Selenium (IDE is good option for such task if you know JS) or Sikuli. A list of GUI_testing/automation_tools. But since you are
on Windows.
I'm using PowerShell for similar tasks - check my email, login to Firewalls, read news etc. Here is my article of how you can achieve the same using simple user agents. Feel free to reuse the scripts.
If you have any questions about the implementation details - just ask me.
Cheers

client side performance testing

i wanted to test web based software where java script play significant role.i want to check the performance ,can anyone suggest good tool. also iwant to automate the same.
Note : iam using jmeter for performance testing now.
Check out Yslow in firefox
https://addons.mozilla.org/en-US/firefox/addon/yslow/
With Firebug, you can use
console.time("name");
console.timeEnd("name");
or
console.profile();
console.profileEnd();
around a specific block of JS
I guess you could write a firebug plugin to somewhat automate it but it's more for looking for specific things.

Editor for end user documentation in C# WinForm app

I'm developing a WinForm app in c# 4.0 and would like other (non-developer) colleagues to contribute writing a context sensitive end-user helpfile. First I thought I could use "HTML Help Workshop" from Microsoft, but it seems outdated (Vista and Windows 7 not supported).
Then I've looked at Sandcastle, but the documentation is lacking and I wonder if it is suitable for non-technical users to write end-user documentation.
So I read about RoboHelp, but it's way to expensive for me.
I'm getting lost in all the information that is available about helpfiles. Can someone help give some best practices or information on what tools to use and what output format I should target (still chm or other).
Great question. I like your idea of non-developers contributing to the end-user documentation.
This idea might motivate users and testers of your application to easily contribute to the documentation.
The first thing that comes to my mind, is using a some sort of wiki engine. You could build a simple function in your WinForm application, that fires up a browser and directs in to the wiki. You could use the context from which it is called to build up an url; e.g. http://dev-wiki.mycompany.com/LoginForm?action=edit. Here the name of the form ("LoginForm") is used in the url of a wiki page.
Alternatively, you could simply use the embedded web browser control for WinForms to access the wiki. That would look something like:
var url = GetWikiUrl(myForm);
browserControl.Navigate(url);
This would be very easy to embed in your application.
In a controlled (office) environment, this would be very easy to set up. In you production environment it might be a bit more difficult, but still doable. It might leverage some end-user contributions too.
For writing documentation, I use sphinx.
It lets you document in plain text and has various output formats (chm, html, pdf etc.).
Some of these (chm, html) can be used as context-sensitive help sources.
However simple, the sphinx user-interface (text editor and make file) might not be suitable for non-technical users.
I would recommend to use Help+Manual for creating CHM documentation. It's similar to MS Word and any PC user can start to contribute doc development after short education.
But this tool isn't free :(

Regression testing on Apple WebObjetcs GUI

I have recently started a new job in a company that depends heavily in an application developed with Apple Web Objects.
It happens that this company does not have a way to make automated tests whenever a new update is received, weather with bug fixes or new features.
We have no access to the code since it is a proprietary application.
My idea is to develop a suite of test cases to allow us to do regression testing through the GUI.
I have looked for tools for this, but could not find anything capable of "seeing" which components are in the GUI.
Before I arrived to the company, other people had already tried with HP LoadRunner with no success. I tried with AutoIt 3.0 just to check if it would recognize the fields, but also without success.
Anyone with experience testing such kind of application?
Which tools do you think that could fit for this purpose?
I appreciate your opinion.
Thank you!
Bruno
After some research I found a few good solutions for such problem. I came down to two solutions. Both of them are image based "which means it can "see" the user interface, just as the human eye does".
Proprietary solution
http://www.testplant.com/
Open source solution
httpp://groups.csail.mit.edu/uid/sikuli
Hope this can help others in the future.

Resources