sureshkekan / sauceforce Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/sauceforce
Automatically exported from code.google.com/p/sauceforce
Hi Yudi,
Thanks much for fixing the bug #4("Selenium could not locate the login
button"). Now, I can get past through the "Element not found" error. But, I get
the salesforce "Activation Required" error. Could you please let me know the IP
range that I need to include so that my salesforce instance could talk to
SauceLabs?
As stated in Step 6 on the documentation at
http://sauceforce-developer-edition.na1.force.com/, I have added the following
IP ranges.
67.202.0.0 to 67.202.255.255
72.44.0.0 to 72.44.255.255
174.129.0.0 to 174.129.255.255
75.101.0.0 to 75.101.255.255
204.236.0.0 to 204.236.255.255
I also figured out that everytime I run a test, the IP addresses are randomly
generated. Could you please send me the entire list of permitted IPs?
I have attached the screenshot of the error.
Please help me out asap as I am sure fixing this will help me go forward with
running Apex Tests for Selenium.
Any kind of assistance is highly appreciated,
Thripura
Original issue reported on code.google.com by [email protected]
on 6 May 2013 at 5:26
Attachments:
What steps will reproduce the problem?
1. Follow the steps as stated in
http://sauceforce-developer-edition.na1.force.com/
2. Record a basic logging into org workflow
3. Try to run the test from saucelabs.
What is the expected output? What do you see instead?
successful login to the org. Instead, I get the following error:
ERROR: Element css=input.login_click not found
What version of the product are you using? On what operating system?
Selenium 1.9.0, windows xp
Please provide any additional information below.
I figured out that a line of code found in SauceTest.cls which is one of your
managed classes is causing the error. I am unable to fix the code as I do not
have access to it.
I took a look at the element you're trying to click, and here is its
information: <input id="Login" class="loginButton" type="submit" value="Login"
name="Login">
Thus, a simpler way to click on this element would be to use the ID, "Login":
selenium.click("Login");
If you prefer to use CSS, note that you are using "login_click" for the class,
where it should actually be "loginButton".
Could you please change this line from
selenium.clickAndWait("css=input.login_click", "") to
elenium.click("Login");
I would really appreciate if this is fixed asap. Our team is badly waiting and
relying on this tool to get our automated tests up and running.
I have also attached the server log.
Thanks much and any kind of help is appreaciated,
Thripura
Original issue reported on code.google.com by [email protected]
on 12 Mar 2013 at 2:17
Attachments:
What steps will reproduce the problem?
1.install the app as per the http://sauceforcedeveloperedition.na1.force.com/
2. record some action from selenium ide and convert that to Apex code
3. create a apex class and paste that
4. click on test tab and select a test and click on schedule button
5. click on "test cloud settings" tab and click Execution manager
6. system is displaying
SeleniumServerLog: as "Argument cannot be null.
error"
Version : 1.4
OS : windows 7
Browser: firefox 3.6
Original issue reported on code.google.com by [email protected]
on 16 May 2012 at 6:00
Attachments:
What steps will reproduce the problem?
1. After setting up all the as given in
http://sauceforce-developer-edition.na1.force.com/ the last step while running
the TestExecutionManager it is showing error as "ERROR: Element
css=input.login_click not found on session 2b409b50fc0f4e09b72f47f2d5b63836".
We debugged the code and came to know that there is a problem with the locator
2. 'The login button is not being clicked because Selenium is unable to locate
it, as the locator being used is incorrect.' i am not able to change the
locator for login because it is a managed class from TestCloud application
which you people have created.
class name: http://sauceforce.googlecode.com/svn/trunk/src/classes/SauceTest.cls
There in that class:
public void login(selenium1.DefaultSelenium s) {
s.open('/');
s.type('username', TestCloudConfig__c.getInstance().username__c);
s.type('password', TestCloudConfig__c.getInstance().password__c);
s.clickAndWait('css=input.login_click');
}
here locator need to change but it is secured class i can't change to continue
my test
What is the expected output? What do you see instead?
test to be passed but the test is failing
What version of the product are you using? On what operating system?
Windows 7
Please provide any additional information below.
i am attaching the error log for your convenience.
Original issue reported on code.google.com by [email protected]
on 17 Jan 2013 at 9:49
Attachments:
What steps will reproduce the problem?
1. Follow step #5: http://sauceforce-developer-edition.na1.force.com/
Install the Selenium IDE plugin
Download the Apex Code format from the SauceForce package, from Setup -> App
Setup -> Develop -> Static Resources: apexformat.resource
Open the IDE (Tools -> Selenium IDE) and go to Options -> Options -> Format tab
and click [Add]
Title the format Apex Code. Copy and paste the contents of apexformat.resource
into the IDE. Click Ok
Select Apex Code as the clipboard format. Options -> Clipboard Format -> Apex
Code
What is the expected output? What do you see instead?
Clicking the 'Source' tab should now show the code in 'Apex' format.
What version of the product are you using? On what operating system?
Selenium IDE 1.3.0
Original issue reported on code.google.com by [email protected]
on 9 Nov 2011 at 8:24
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.