GUIdancer 3.2, the latest version of flagship automated GUI testing tool from Bredex, now "officially" supports Windows 7 and Vista, and includes additional enhancements to its library of pre-built test actions. It began shipping on Nov. 3. Before you decide that US$5785 is too much to pay for an automated keyword testing tool (more if you're subject to Germany's voracious appropriation tax), take a look at [these demos of the software](http://www.bredex.de/en/guidancer/downloads.html) in action. You can also [try the software](https://cgi.bredex.de/GUIdancerShop/downloadpage.do) for two weeks for free. There are versions for Linux and Windows; a Mac OX S version is in beta. According …

Member Avatar
Member Avatar
-2 forum 1

Is this a viable BIGENDIAN test: [CODE]int tmpvaluethatwillneverreallybeused=1; bool bigendian=(*(char*)(&tmpvaluethatwillneverreallybeused)==1); void myFunction() { if (bigendian) { //do big endian specific code } else { //do little-endian specific code } }[/CODE]

Member Avatar
Member Avatar
+0 forum 4

[CODE] #include <iostream> #include<stdio.h> #include<string.h> using namespace std; int main() { // cout << "Hello world!" << endl; int t,i,j,a,flag; char str[1000001]; cin>>t; while(t--) { a=1; scanf("%s",str); for(i=0;i<=strlen(str);i++) {flag=0; if(!isdigit(str[i])) {flag=0; for(j=i-1;isdigit(str[j]);j--) { if(str[j]!='0') { flag++; a*=str[j]-'0'; //cout<<"flag"<<flag<<" "<<a<<"A"<<endl; break; } } if(flag==0) { a=0;break; } } while(a>9) { if((a%10)!=0) { a=a%10; //cout<<"a"<<a<<endl; } else { a=a/10; } } } if(a) printf("%d\n",a); else printf("Robot hanged.\n"); } return 0; } [/CODE] This is the code for the following problem [URL="http://www.codechef.com/problems/TESTTT5"]link[/URL]. I am getting a wrong answer despite my code working for all the test cases. Can anyone tell me for which …

Member Avatar
Member Avatar
+0 forum 1

I have a method that returns void. say: Public void CreateRectangle(double z, double y, IRectangle rectObj) { Vector3d recPos1 = new Vector3d() recPos1.X = 0; recPos1.Y = some double vale; Vector3d recPos2 = new Vector3d() recPos2.X = some double value; recPos2.Y = 0; rectObj.SetVectors(recPos1, recPos2); } now, in my unit test i just want to verify that SetVectors() method has been called on object rectObj. I have written a moq unit test but it fails. My method looks like this: [Test(Description = "")] public void TestCreateRectangle() { double xPos = default(double); double yPos = default(double); myClass objMyClass = new myClass(); …

Member Avatar
Member Avatar
+0 forum 1

Given an array A of length N, my task is to find the element which repeats in A maximum number of times as well as the corresponding count. In case of ties,I choose the smaller element first. Input First line of input contains an integer T, denoting the number of test cases. Then follows description of T cases. Each case begins with a single integer N, the length of A. Then follow N space separated integers in next line. Assume that 1 <= T <= 100, 1 <= N <= 100 and for all i in [1..N] : 1 <= …

Member Avatar
Member Avatar
+0 forum 1

I have this code: [CODE] /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package se211.dz14; import java.util.Scanner; /** * * @author Boris */ public class Month { /** * @param args the command line arguments */ public static void main(String[] args) { Scanner scan = new Scanner(System.in); System.out.println("Please specify the number of times you want to enter a month:"); int times = scan.nextInt(); for (int i = 0; i < times; i++) { System.out.println("Please enter a month number:"); int month = scan.nextInt(); switch (month) { case 1: System.out.println("January"); break; …

Member Avatar
Member Avatar
+0 forum 1

Hi guys, Recently I was struck by a question "[B][COLOR="Red"]HOW MUCH AVERAGE TIME IS REQUIRED TO WRITE A TEST CASE OR TEST STEP FOR ANY APPLICATION. CAN WE HAVE ANY METRICS FOR IT.......[/COLOR][/B] Please Help ! Thanks in advance.......

Member Avatar
Member Avatar
+0 forum 5

Hi, I want to perform a load test on my site... i want to test the loading speed of my site with 500 - 1000 users on it at a time... Is there any online tool or software (Free or purchased, doesn't matter) which allows me to perform the test ?

Member Avatar
+0 forum 0

I've created a game , somewhat like space invaders, and it looks pretty cool , very proud of what ive done. But I'm stuck on finding a way of unit testing the collision of 2 sprites and the collision between the borders and a sprite. If anyone could point me in the right direction or has any sample code of this happening that would be great!

Member Avatar
Member Avatar
+0 forum 1

An array is defined to be double sorted if its even-valued elements (if any) are in ascending order and its odd-valued elements (if any) are in ascending order. The array {-6, 12, 1, 24, 3, 5} is double sorted because the even-valued elements (-6, 12, 24) are in ascending order and so are the odd-valued elements (1, 3, 5). However, the array {3, 2, 1} is not double sorted because the odd numbers are not in ascending order. Write a function named isDoubleSorted that returns 1 if its array argument is double sorted, otherwise it returns 0. If you are …

Member Avatar
Member Avatar
+0 forum 6

Please, please don't tell me to stop being lazy and do this myself. I'm really struggling in my java class and I wouldn't be online asking strangers for help if I wasn't desperate and didn't already try to do the work myself. I've been on a number of programming help forums only to be told to get out and stop being lazy, but there's a reason I got such a low grade in programming the first semester, and that's because I don't get it, and every time I ask for help I get turned down. So though I'm aware you …

Member Avatar
Member Avatar
+0 forum 2

Hello everyone, my assignment is to calculate each student's test average and final letter grade from a class of 20 students with 3 tests. The scores for each test are located in the text files that I am attaching. I have worked on this code for some time now, but in the output, all of the averages are incorrect. Here is an example of what a section of an output might look like: Student #1: Class Average: 95 Final Grade: A But I want to display this for each of the 20 students. Instead, it gave me a class average …

Member Avatar
Member Avatar
+0 forum 6

[CODE]if(isset($_POST['listingType'])) { ini_set('magic_quotes_gpc', false); // magic quotes will only confuse things like escaping apostrophe //Get the item entered $listingType = $_POST['listingType']; $primaryCategory = $_POST['primaryCategory']; $itemTitle = $_POST['itemTitle']; if(get_magic_quotes_gpc()) { // print "stripslashes!!! <br>\n"; $itemDescription = stripslashes($_POST['itemDescription']); } else { $itemDescription = $_POST['itemDescription']; } $itemDescription = $_POST['itemDescription']; $listingDuration = $_POST['listingDuration']; $startPrice = $_POST['startPrice']; $buyItNowPrice = $_POST['buyItNowPrice']; $quantity = $_POST['quantity']; if ($listingType == 'StoresFixedPrice') { $buyItNowPrice = 0.0; // don't have BuyItNow for SIF $listingDuration = 'GTC'; } if ($listingType == 'Dutch') { $buyItNowPrice = 0.0; // don't have BuyItNow for Dutch } //SiteID must also be set in the Request's XML …

Member Avatar
+0 forum 0

hi, i have one chat project. i m totally noob in that. in that server and client scripts... how can i test or run in my browser. i use vs2010 and mssql 2008. please help me.. thanks in advance jack

Member Avatar
Member Avatar
+0 forum 4

Hi guys, my keyboard has not [B]Break[/B] key, so i cant braek a test run with the conventional [B]Ctrl + Break[/B]. Is there any other way to break a test run? Thanks in advance.

Member Avatar
Member Avatar
+0 forum 7

I got it to run but for some reason they incorrectly implemented the "chown" call. Here are some examples of how it is implemented in their test scripts: chown ${n0} 123 456 (where path is first) -u 65534 -g 65532,65531 -- chown ${n0} -1 65532 (where options are set before the actual call) (found from chown test script 00) I just don't get it. Originally I thought the test script would parse everything and set up the call properly after reading in the test line. However, when running the suite, every single chown test fails. I seem to be the …

Member Avatar
+0 forum 0

This I did also after 'spying' discussions in other forum. Of course you would use sieve prime generation for bigger numbers, but I proved other simple way for a change. Slightly more advanced primes list generator would use primes % 6 in (1,5) property: [CODE]def primes(n): """ primitive non-sieve prime finder """ p = [2, 3] candidate, step = 5, 2 while candidate <= n: if all(candidate % pr for pr in p): p.append(candidate) candidate += step # consider only number % 6 in (1,5) ie 6*n +- 1 step = 2 if step == 4 else 4 return p …

Member Avatar
Member Avatar
+0 forum 1

Hi, apologies if this isn't the correct thread for this question! I'm running some web tests on a couple of sites, simple stuff to gauge average page load times etc. However the internet provided here is through a cache and makes the test fail in most cases because the test browser is not configured correctly. Is there any way to edit the lan settings of the browser within visual studio? Many thanks

Member Avatar
+0 forum 0

Okay, so I have a rather easy problem that I can't seem to figure out. I'm getting cannot find symbol errors for T item=(T)input.next(); The program is a test file for a Binary Tree program. I was told the input 'item' has to be in T type. Obviously they have to be in T type to be accepted by the insert, delete, and find methods in the actual tree program. I guess what I'm asking is how to make it so I can declare it as such in the test file. Tree: [CODE] package treePkg; import java.lang.SecurityException; import java.util.Scanner; import …

Member Avatar
Member Avatar
+0 forum 1

Hey I am trying to do a project on Test Engine. I need to retrieve random rows of questions from access database. I did the following code, but every time I once close and run it again, the sequence of questions is same. How can I change the sequence every time? [CODE] private void button1_Click(object sender, EventArgs e) { OleDbConnection con = new OleDbConnection(Connection.conStr); OleDbCommand cmd = new OleDbCommand("select * from dell order by Rnd(serialNumber)", con); OleDbDataAdapter adp = new OleDbDataAdapter(cmd); DataSet ds = new DataSet(); adp.Fill(ds, "new"); dataGridView1.DataSource = ds.Tables["new"]; } [/CODE]

Member Avatar
Member Avatar
+0 forum 5

I have two classes. The first class is called [ICODE]EmployeePayRoll.java[/ICODE] (this compiles fine) and the second is called [ICODE]TestEmployeePayRoll.java[/ICODE] (this does not compile). The trouble I'm having is that I'm trying to pass in methods as parameters when I instantiate my objects in the main method of the test class. I've tried a bunch of different things and I just get errors. I've had static/non-static related errors, null pointer errors, etc... I've got some tweaks I'm going to make when I get the test class to compile but this is holding me up. Any advice or suggestions would be appreciated. …

Member Avatar
Member Avatar
+0 forum 5

Hi My dell inspiron laptop has gone loopy,keeps restarting and no access to safe mode(f8) I wanted to test the hard drive of the dell laptop using an old tecra 8100 wont recongnise hard drive from dell laptop but does recongnise old wd external hard disk. The hard drive is spinning and passed the dell diagnostic test Any ideas

Member Avatar
+0 forum 0

I have some customers saying certain pages never load for them and actually freeze their computer or make their internet connection drop. I asked one if they knew if they were using Internet Explorer as their internet browser and she said: "no, google". I was surprised and said: "oh, you are using google chrome?" and she said: "no, google.com". So, yeah....not much help from the customers on figuring out the problem. So...if anyone can help me: [url]http://www.mfwbooks.com/products/M50/70/0/0/1[/url] [url]http://www.mfwbooks.com/products/M50/60/0/0/1[/url] If you can try these links and see if the page loads or not. Anyone using Wi-Fi would be an additional helpful …

Member Avatar
Member Avatar
+0 forum 1

Hello All, On my local machine, my website works perfectly. All the functionality that I have made works great. I then copy my folders from my local machine to my test development web server. Once this occurs, certain functionality of my website no longer works, yet it is a direct copy from my local machine. Using MVC 2.0 and am copying to Windows Server 2008 machine. Any ideas of what may be happening?

Member Avatar
Member Avatar
+0 forum 1

[url]http://www.mfwbooks.com/products/M50/60/0/0/1[/url] I need some help testing this link with Vista and IE. I have a customer who can get to any page on our website, but when accessing this page, the page doesn't load and the connection to her internet is shut down. Thank you!

Member Avatar
Member Avatar
+0 forum 2

Hi all, ive got a bit of an annoying problem regarding JUnit 4.5. I've created a bunch of unit tests which work properly when I right click the class and press 'Test' (in Netbeans). However, when I right click the whole project and press 'Test', i get a ClassNotFoundException. I checked the classpaths of the classes and the jar file of JUnit is added in all of them :/ This problem all started when I changed the directory for my tests' location - but it doesnt make any sense to me as they work when tested individually! Any suggestions? Thanks

Member Avatar
+0 forum 0

With Internet Explorer 9 being acclaimed as the fastest ever browser client from Microsoft, DaniWeb decided to put it to the test against Chrome, Firefox, Opera and Safari and see just how quick it really is in a real world test of web browsing speed. You can read our [URL="http://www.daniweb.com/reviews/review318661.html"]review of the Internet Explorer 9 Beta here[/URL]. [attach]17608[/attach]A certain degree of nerdiness, no doubt, drives so many publications to take the microsecond benchmarking suite approach to testing. While we certainly do not dismiss these tests as pointless, measuring the speed of the browser JavaScript engine and core rendering speeds are …

Member Avatar
Member Avatar
+1 forum 32

Greetings! This n00b has a "search engine" dedicated to extracting relevant information from log files. It works by parsing preset fields in the log filename. I'd like to have some notification when the search returns no rows as I am planning to add more search options. Here's my code: [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head> <title>LogFile Search</title> <style type="text/css"> <<irrelevant stuff removed>> </style> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript" language="javascript" src="js/UI.js"></script> </head> <body> <h3 id="myh3">Log File Search</h3><h5>Version 1.0.1</h5> <h4 id="myh4"><ul><li> <<irrelevant stuff removed>> </li></ul></h4> <form method="post" name="LogFile_Search" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <table id="mytable"> <tbody> <tr> <td id="mytd">Result(P|F|N): …

Member Avatar
Member Avatar
+0 forum 2

The program takes 10 numbers of type float, which are entered by the user, and outputs the average ( also of type float ) of those 10 numbers. If I am going to test a range of values for those ten number, am I correct to test the highest values at 3.7E+38 / 10. If each number entered by the user is 3.7E+38 / 10, then the average of those ten numbers should never exceed 3.7E+38 correct? I'm basically trying to find the upper and lower ranges for my test inputs. P.S. All numbers input are positive. FWD

Member Avatar
Member Avatar
+0 forum 2

Could somebody please help me to add a function to this script in which the image to test if the server is up has a timeout, so it shows an error message to the user instead of just loading forever. The current function of the code is: Attempt to load the image, Show the user the webcam on success, on failiure it says the webcam is offline (but uses a timeout set by the browser I think or just a default timeout which takes ages) Show an alert box after 3 minutes that the user has to close to continue …

Member Avatar
+0 forum 0

The End.