Sponsored Content
Top Forums UNIX for Dummies Questions & Answers I need to build a tool for Automatic GUI Validation Post 302914985 by srkmish on Saturday 30th of August 2014 01:38:37 AM
Old 08-30-2014
I need to build a tool for Automatic GUI Validation

Hi Friends,

So we have an internal link in my project. We generally login into it with our ids , then enter some generic values to check whether the functionality is working fine. If it is fine, the webpage delivers a successful preview or else throws error.

What i want to do is write a script( it can't be unix based i guess) which will automate the below tasks using some sort of webpage parsing technique?

(i) Open the webpage
(ii) Input the uname and password(can be hardcoded) by determining the appropriate textboxes in the webpage
(iii) Wait for sometime for Generic value input button to be displayed
(iv) Enter generic value by determing the textbox
(v) Wait for the webpage to display result and mail the result to inbox

Is it possible to do something like this?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

If a is windows gui ( client), b is a unix gui ( Server for a) and c is a shell scrip

Hello all, 1) I want to have a GUI application that will call Unix shell scripts, 2) that GUI application should be able to reside on windows ( if possible) and then call Unix shell script either directly or through a server residing on unix. That is for example. If a is windows gui (... (1 Reply)
Discussion started by: hchivukula
1 Replies

2. Shell Programming and Scripting

script for GUI tool

Hi Legends. Thanks for all your support till now, Now my requirement is planned to create a GUI backup tool for both "Source Code Backup" and "Mysql Backup" is it possible to write own code for this , or else any other opensource Backup tool is available which option is better? my wish is Write... (0 Replies)
Discussion started by: anishkumarv
0 Replies

3. Programming

Migrating Java Gui tool from CLI to web

Hi Experts, I am practically with nil knowledge of java. I have this new requirement i would like to explore. there is this java base GUI application which loads GUI and lets user select a file. GUI is initiaited by following CLI java -Xms1024m -Xmx1024m -cp... (1 Reply)
Discussion started by: mtomar
1 Replies

4. Shell Programming and Scripting

Giving automatic multiple Input to a tool from shell script

Hi, Please help me,its urgent. I have a tool that i want to run from a shell script. When we run the tool it will ask the user choice to add or delete. When user enter the choice it will then ask how many units he want to delete or add and will add or delete accordingly. Now I want to... (1 Reply)
Discussion started by: saket18@ymail.c
1 Replies

5. UNIX for Dummies Questions & Answers

Mysql GUI tool?

Hi, I am looking for GUI based tool for Mysql. I found few but I need to pay for them to get the license. Since I work for mom & pop company, they don't have any money. :-( I was wondering if you guys know any good GNU tool out there? I get the data on the email, I was wondering if I... (3 Replies)
Discussion started by: samnyc
3 Replies

6. UNIX for Dummies Questions & Answers

Adding SDK Build on Kernel Source Build

Hi, So I downloaded this kernel source and was able to build it successfully. But I want to add this SDK source code inside, can anyone help me how to do this? Note that the SDK source can be built by itself. I added the SDK in the main Makefile: init-y := init/ #added SDK... (0 Replies)
Discussion started by: h0ujun
0 Replies

7. UNIX for Dummies Questions & Answers

Can we build a tool for Windows to retrieve data from UNIX servers (putty console)

Hi Friends, Is it possible to build a windows tool ( a java applet maybe? ) which can retrieve data and display after performing certain commands on unix servers ( simple grep / script output) after logging into putty console. I am on a company server so please bear that in mind. I might have... (23 Replies)
Discussion started by: srkmish
23 Replies

8. Programming

Python gui or C++ gui or java gui?

python gui or c++ gui or java gui? and when to use etch one? (1 Reply)
Discussion started by: kaja
1 Replies

9. Red Hat

RHEL GUI Build process.

Hi Folks, I've recently upgraded (RHEL 6.5 to 7.5) a couple of servers and have noticed a peculiarity during the GUI build of the boxes. This can be best explained as follows; There were four Oracle ASM disks on each of these servers, these were selected in the GUI for reformat as XFS file... (2 Replies)
Discussion started by: gull04
2 Replies
Smokeping_probes_WebProxyFilter(3)				     SmokePing					Smokeping_probes_WebProxyFilter(3)

NAME
Smokeping::probes::WebProxyFilter - tests webproxy filter performance and function. OVERVIEW
This probe tests if your filtering webproxy is working properly. Drawing from a list of forbidden websites, it tries to establish a connection to each one of them and registers a 'loss' when it suceeeds. If you want to test availability of a website, use the EchoPingHttp probe. SYNOPSIS
*** Probes *** +WebProxyFilter forks = 5 maxsize = 2000 min_interval = 0.1 offset = 50% step = 300 timeout = 15 useragent = SmokePing/2.x (WebProxyFilter Probe) # The following variables can be overridden in each target section deny_re = Access Prohibited more_hosts = www.playboy.com, www.our-competition.com pings = 5 timeout = 2 # [...] *** Targets *** probe = WebProxyFilter # if this should be the default probe # [...] + mytarget # probe = WebProxyFilter # if the default probe is something else host = my.host deny_re = Access Prohibited more_hosts = www.playboy.com, www.our-competition.com pings = 5 timeout = 2 DESCRIPTION
The probe uses the LWP::UserAgent module to retreive a series of wepages. It expects to get the firewalls 'site-prohibited' page. Any other response (or a real loss) gets logged as a loss and can be used to trigger an alarm. The probe tries to be nice to the firewall and waits at least X seconds between starting filetransfers, where X is the value of the probe specific `min_interval' variable (1 by default). Many variables can be specified either in the probe or in the target definition, the target-specific variable will override the prove- specific variable. VARIABLES
Supported probe-specific variables: forks Run this many concurrent processes at maximum Example value: 5 Default value: 5 maxsize How much of the webpage should be retreived. Default value: 2000 min_interval The minimum interval between each starting GETs in seconds. Example value: 0.1 Default value: 1 offset If you run many probes concurrently you may want to prevent them from hitting your network all at the same time. Using the probe- specific offset parameter you can change the point in time when each probe will be run. Offset is specified in % of total interval, or alternatively as 'random', and the offset from the 'General' section is used if nothing is specified here. Note that this does NOT influence the rrds itself, it is just a matter of when data acqusition is initiated. (This variable is only applicable if the variable 'concurrentprobes' is set in the 'General' section.) Example value: 50% step Duration of the base interval that this probe should use, if different from the one specified in the 'Database' section. Note that the step in the RRD files is fixed when they are originally generated, and if you change the step parameter afterwards, you'll have to delete the old RRD files or somehow convert them. (This variable is only applicable if the variable 'concurrentprobes' is set in the 'General' section.) Example value: 300 timeout How long a single 'ping' takes at maximum Example value: 15 Default value: 5 useragent The web browser we claim to be, just in case the FW is interested Default value: SmokePing/2.x (WebProxyFilter Probe) Supported target-specific variables: deny_re Regular expression, matching the 'deny' response from the firewall Example value: Access Prohibited more_hosts A comma separated list of banned websites to test in addition to the one specified in the host variable. The websites will be tested one after the other in one round, this means that while normal probes do run the same test serveral times in a row, this one will alter the webpage with each round. The reason for this is, that eventhough we try to retreive remote webpages, the answer will come from the firewall everytime, so we kill two birds in one go. First we test the firewalls latency and second we make sure its filter works properly. Example value: www.playboy.com, www.our-competition.com pings How many pings should be sent to each target, if different from the global value specified in the Database section. Note that the number of pings in the RRD files is fixed when they are originally generated, and if you change this parameter afterwards, you'll have to delete the old RRD files or somehow convert them. Example value: 5 timeout Timeout in seconds for the test complete. Example value: 2 Default value: 2 AUTHORS
Tobias Oetiker <tobi@oetiker.ch> sponsored by Virtela BUGS
This probe is somewhat unortodox, since it regards the sucessful retrieval of a banned webpage as a loss. 2.6.8 2013-03-17 Smokeping_probes_WebProxyFilter(3)
All times are GMT -4. The time now is 09:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy