LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Closed Thread
  Search this Thread
Old 11-24-2010, 06:00 AM   #1
prabhakarank
LQ Newbie
 
Registered: Nov 2010
Posts: 3

Rep: Reputation: 0
Help required on running selenium test scripts headless


Hi,

I need to run "Selenium" test scripts (written inside TestNG) on a headless linux server (Red Hat Enterprise Linux Server release 5.3) using Xvfb. while executing the script, I get the following warnings in the "server.log" file.

Warning: Cannot allocate colormap entry for "#c0c0c0"
Warning: Cannot allocate colormap entry for default background.


This warnings occurs when the script try to launch Firefox. Firefox is not getting launched and the code gets hanged in the middle, without executing any test case.

I suspect the problem could be with the Xvfb's screen resolution. screen resolution might be lesser than firefox's expected resolution.

we can be able to specify our own display in POM file using <display> tag. similarly can we able to specify resolution also ?..

Pls help me out. Thanks in advance.
 
Old 11-24-2010, 06:15 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate of your other one here:
http://www.linuxquestions.org/questi...adless-846238/
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Cannot get VNC running headless Mithrilhall Fedora 1 10-19-2010 11:09 AM
Running Pandora.com on a headless server. SkipHuffman Linux - Server 0 09-03-2009 11:32 AM
Google Desktop running in headless mode GSMD Linux - Software 0 12-18-2007 02:42 AM
Running Skype on a headless system? Foomajick Linux - Software 0 11-19-2006 09:29 AM
running test scripts with php PhilTR Linux - Server 11 09-12-2006 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 01:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration