Saturday, December 4, 2010

Problem starting Selenium Server RC

use a different port number like this if you get an error as mentioned below in image:
c:\>java -jar selenium-server-standalone-2.19.0.jar -port 5561

Do not forget to change the new port number in your code in java or visual studio c#

selenium = new DefaultSelenium("localhost", 5561, "*chrome", "http://172.21.1.60/");

Sunday, April 11, 2010

HP OpenVMS 7.3 Version Test Environment maintenance.

0) username: System
   password: what ever you have


1)updating licenses of HP openVMS
$ show license
go to the location where the licenses are placed.
2)$ set def dua1:[psw]
changes directory sets default directory to psw
  $ dir   (to see contents of directory.)
3)Execute the file LP.com
text file of license save the text in notepad and copy using ftp to openVMS location folder with name LP.com
$license delete       (delete first all the expired licenses)
PRODUCT: *            (Enter wildcard for PRODUCT.using wildcard to delete all product licenses.)
$ @LP.COM            (execute the script like this by putting @ infron tof the filename)
4) show license    (now in output verify the latest date and time of new licenses.)
-----------------------------------------------
Basic manipulations
1) show users  (to see logged in users)
2) show process    (to see running processes)
3) @sys$manager:tcpip$config    (startup Compaq Tcp/IP services for OpenVMS)
select from menu and mostly it is number 6 to press for startingup Compaq Tcp/IP services for OpenVMS.
select from menu and mostly it is number 5 to press for Shutdown Compaq Tcp/IP services for OpenVMS.
select from menu and mostly it is number 7 to press for Run Tests.
Exit by pressing E.
------------------------------------------
Change system password
>>>B/R5:1        (enter this command and then it reaches another prompt sysboot)
SYSBOOT> SET/STARTUP OPAQ:
SYSBOOT> SET WINDOW_SYSTEM 0
SYSBOOT> SET WRITESYSPARAMS 0
SYSBOOT> CONTINUE     (NOW AFTER THIS IT WILL RETURN TO $ AND)
$ spawn
$ @sys$system:startup           (this will satrt up boot process and take some time around 1 minute)
$ set def sys$system
$ run sys$system:authorize
UAF> mod system/nopwde/pass=rahul (modifies password rahul is new password) using nopwde system will dont ask to login. using old password)
UAF>exit

Sunday, March 14, 2010

(In Windows xp )Convert FAT32 filesystem to NTFS


External Hard disk does not support bulk backup-transfer of data.
gives an error message no space availle in disk.
because disk has FAT32, so we wil fix this by converting disk to ntfs.
no data will be lost using this process, but it is always good to have a backup.

(In Windows xp )Convert FAT32 filesystem to NTFS using these Steps:
1. In cmd, Press in "CONVERT E: /FS:NTFS" (without the quotes).
   The E is for the letter your system drive, or external drive name. (see Step 5)
2. If it asks for the volume name then enter the name you see in my computer next to drive letter.
3. if the conversion fails the try this:
     chkdsk E: /f
this will fix errros on drive.
4. now again enter same command:
  CONVERT E: /FS:NTFS
It will convert the external drive FAT32 system to NTFS system.to verify conversion go back to my computer and right click at external disk and see properties.
(see image for details)

Json extractor and While loop

Waiting for a specific value in response of api request. using while loop. Add a While Loop. The api requets will be executed inside th...