I am about to start work on a UI automation project for a client who is using Siebel 7.5. I have been looking around and it seems that there is not a lot of info out there on if it is possible to automate GUI tests in siebel using Selenium. The question is, Is it possible to automate Siebel using selenium. I hear there are two modes for Siebel, SI and HI, what is the difference?
On another note, i have heard that there are issues automating early versions of Siebel using HP QTP. What are these issues and what is the best workaround.
I realise this is more than one question, i will vote up whoever answers a component and the answer will go to the person who answers the most components
Thanks in advance
HI stands for "Hi Interactivity" it is used for sites that are accessed over the LAN most objects in an HI Siebel application are ActiveX controls.
SI stands for "Standard Interactivity" it is used for sites that are accessed externally and is usually pure HTML.
Starting in version 7.7 Siebel starter supplying Siebel Test Automation (STA) which provides an API for testing tools, this API is used by QTP for testing Siebel 7.7 and later. STA is relevant only for HI applications, for SI applications Siebel adds some hints to the HTML in order to help testing tools.
I don't know of specific problems with QTP testing classic (pre 7.7) Siebel applications and I don't know about Selenium at all so I hope the general information I provided is useful.
As said above, HI mode can have test hooks enabled but these are pretty basic and need some additional software to work with easily. Also, HI only works in IE which does not have the great Selenium recording tool.
On the other hand, SI mode is just HTML and works in Firefox, therefore should be testable with Selenium. Does require a little set-up and please bear in mind that there will be differences between the test results for SI and what the users will see in the much-more-usable HI mode - but if you can ignore the use of special applets, and avoid client-side coding, it should work.
You could use a combination of Ruby watir-classic and rautomation plus a bit of javascript to interact with almost all of the Siebel HI Components. The two Ruby gems use WIN32OLE API and COM, so in essence you could use any language that supports the Windows API. It's a huge effort, but pays off in the end, cause it's all open source, whereas tools like QTP and TestComplete cost a fortune.
Related
I am totally new to the web application and automation testing.
I am learning selenium from youtube videos and developing frameworks.
while looking into the videos most of them cover only testing the Application as such.
I found very few videos which state about interacting with the database and verifying them.
I just wanted to know how will this be in real time projects?
In real time projects will they automating scenarios like configuring something in the UI, then validating it in the database, coming back to the UI and continuing the UI flow or will it be simply only verifying the UI.
I want to know more about how to do database testing.
Any info here will be of great help
Selenium is one of the best choice available in today's market when it boils down to Automation of Web Application. Selenium have support for Mozilla'a geckodriver, Google's chromedriver, Microsoft's IEDriverServer & even Safari etc. Hence Selenium is widely accepted as the best Web Automation tool as of today.
Having said that, though you too can perform Database Testing through Selenium but it's not the ideal candidate. Database Testing can include transaction rates & round-trip calculations for which there are other tools which does those work better and you may like to explore those as well. Alternatively, you can also integrate those tools in your Project Framework and work with Selenium in tandem.
please help me to get rid of this. I have a web application and i need to develop automated scripts to cross verify that all the required components/elements are rendering fine on the web pages across different browsers. i simply shouuld say that this is UI testing. so please suggest me the best automation tool which can be a open source or a paid version.
Thanks in advance
Go for Selenium (open source) if you have basic coding knowledge in any one of the following languages (C, Java , C#, Groovy, Perl, PHP, Python and Ruby) or QTP (Paid) which has good Record and Play . Just google the differences between the two and choose the one which sets well for your web application .
I am looking for some start up guidelines to share their experience on XUL development in web application. How good is the option to develop the interface in XUL ?. Can IE understand XUL interface?. I have started reading about XUL and I am liked confused a lot.
Please share your development experience on XUL development.
Thanks
XUL is a Mozilla-only technology meaning that it will only work in Firefox and other browsers based on the Gecko engine. I have bad news for you though: Firefox 4 (meaning Gecko 2.0) disabled support for remote XUL for security reasons, so using it in web applications will no longer be possible. It was arguably a bad idea in the first place.
Take a look into Ample SDK UI Framework, XUL (see examples) is just one of the several XML-based technologies it enables across all browsers, also in IE6.
The ZK web framework (www.zkoss.org) is based on XUL. Actually the web pages you built, using this framework, have the extension ZUL. It produces html + ajax code capable to run in all modern browsers. We are using it in my company for two years now and i have to say it changed my view about XUL.
I have been looking around stackoverflow for automated GUI tools for testing our web app gui from a Business analyst point of view, so that means strictly requirements-record-playback kind of testing since we are not really programmers.
We have used selenium in the past but unfortunately it is no longer compatible with Firefox 4.
Is there a similar tool to selenium that allows recording and playback of GUI tests that does not require a lot or any scripting on a windows platform? thanks
You can use the FireFox add on compatibility reporter to get Selenium working on FF4
https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/
Or alternatively drop down to FireFox 3.x and use that just for your testing!
For the server component Selenium-RC (necessary to execute tests), You must run Selenium-RC 2.0b3 (or higher if it become) to be compatible with Firefox 4. I have used it succesfully with FF4.
Selenium IDE, the recording tool, for firefox is indeed not available as a plugin for FF4 (but I speculate it will be coming soon).
I think that you can benefit from AutoIt (http://www.autoitscript.com/site/autoit/) I`d been using it to test Windows based GUI, but to the best of knowledge there are lot of scripts to test/play on-line games, thus it is applicable to Web Sites.
It does not require deep technical knowledge, but of course it will be much better and frequently mandatory to optimize the generated code. I`ve started my experience with this tool, and I was doing my work flawlessly.
At one company, I was developing automated tests for web app by means of TestPartner (Compuware company) it was one of the best tools Ive ever worked with, it generates VB code quite 'intelligently' and supports user with administration features. But Im not sure whether it is possible to use it without paying.
Good luck !
I am working on a commercial project which is a web-based app which will be bundled with an app/web server (JBoss), which is deployed, with the web app files, at runtime.
I've seen links about how Powershell can do UI testing. Is there any advantage in Powershell for web-testing as opposed to Selenium or VS2010's coded UI tests? (Selenium has poor documentation, which is in Powershell's favour, but I am interested in more functional reasons).
Thanks
Powershell will give you advantage if you need to manipulate something else than a browser/webpage/webapp. With Powershell you can do something with OS, applications, things outside the browser.
If you don't need to do that, if you want to automate only web based app, than I would suggest using web specific tool. Selenium is nice, tests in MSVS2010 are great. If you prefer coding try WatiN for .net, and WatiJ for java. All of them will run smoothly not only inside IDE, but also on CI server.