I got an error "[error] Element id=ui-id-7 not found" while running my script using Selenium IDE - selenium-ide

[error] Element id=ui-id-7 not found- Selenium IDE - I opened career builder site and started searching for QA Analyst jobs, but while trying to run, i got the error, can somebody help me?

You recorded your script wrong.
After your open url on selenium, add a function called verifyTextPresent and set a value "QA Analyst jbos".
It'll work.

Related

How can I pass a fail test in Selenium IDE?

I have a little problem with Selenium IDE. When I open an website and it fails because of timeout, Selenium won't run the next tests where I created a while loop so it will always refresh the webpage if it's not loaded.
My question is, how can make Selenium pass on the next command if the "open" command fails for timeout. Or please suggest any other workaround in case the page is loading continuously .
Thanks, Alex

NetBeans 8.0.2, PHPUnit skeleton genertor 2.0.1 - phpunit tests were not generated for the following files

I'm trying to get a PHPUnit test generated via the NetBeans IDE. WHen I initiate the creation of a test, the output window shows:
"C:\xampp\php\pear\PHPUnit\phpunit-skelgen.bat" "--ansi" "generate-test" "PrintuiInterface" "C:\xampp\htdocs\unified\components\com_printui\interface\printui_interface.php" "PrintuiInterfaceTest" "C:\unittests\components\com_printui\interface\printui_interfaceTest.php"
phpunit-skelgen 2.0.1 by Sebastian Bergmann.
Done.
It seems successful but I also get a popup that states "Tests were not generated for the following files: printui_interface.php Review the log in Output window"
I've tried moving the 'unittests' directory to several different places, thinking it may be a permissions issue. I seem to get the same results no matter where I put the 'unittests' directory.
There are no errors in the PHP error log.
Any thoughts on how I can determine what is wrong would be greatly appreciated.
Best regards.

How can I log the failed cases of selenium ide and send them to an email using selenium ide commands

I need a command that helps me to find a solution for the following problem:
logging the failed cases of selenium ide and send them to an email using selenium ide commands.
Thanks.
Omar
Please refer following URL to execute Selenium-IDE HTML Scripts using Selenium RC. Using this you will get HTML result file. To get screenshot you can add captureScreenshot command after failed step.
http://www.softwaretestingdiary.com/2012/02/selenium-core-setup-to-execute-selenium.html

Makegood in Eclipse says "The main script is not found"

I googled this unexpected error message and there not a single result.
I am using Eclipse Helios (3.6) with Makegood plugin to run PHPUnit test.
PHPUnit is working just fine.
I can also use Makegood to one test class.
But when I run all test, Makegood refuse to do it and display
'Launching <currentfilename>' has encountered a problem.
The main script is not found.
Looks like there are some internal issue with Makegood. I just don t know how to get started debugging this. Is this a eclipse or makegood error message? What does it mean ? Is there any log or debug mode I could use to understand what s happen ?
Recently, I've encountered this problem when executing the Run All Test command. Then the project has no PHP script under the specified test folders. Since the Xdebug implementation of PDT requires a PHP file, test cannot be run in such state.
To prevent this, MakeGood checks whether the project has at least a PHP file under the specified test folders, and skips a test run if the project has no PHP scripts. But even so this error is raised by any reason...
I created a issue http://redmine.piece-framework.com/issues/310 to fix this problem.
Thank you for using MakeGood.

Headless build in Eclipse: how to retrieve result value

I'm trying to use Eclipse CDT's headlessbuild feature for integrating Eclipse with TeamCity. I use a command line call to build my projects as descriped in this question. If there is a compilation error, a message box pops up saying "Java was started but returned exit code=1". I'd rather not have this message but get the return code so I can process it further in my script. Is there any way to do this?
Thanks!
You can suppress the popup and redirect output to be included with your script:
Add "--launcher.suppressErrors" to your command line arguments for eclipse
The error needs to be tracked down in the GUI from what I can tell, because the headless mode doesn't support very good error reporting from sub-tasks yet.
From there I used output from the GUI-based build to narrow down why my project failed to build.
Sources:
http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg15343.html
http://www.eclipse.org/forums/index.php?t=msg&goto=481938&S=c88d71260a7d130eebdccb8f2e5537f2
http://www.eclipse.org/forums/index.php?t=msg&goto=481938&S=c88d71260a7d130eebdccb8f2e5537f2
https://bugs.eclipse.org/bugs/show_bug.cgi?id=209080#c21