Questions tagged [eggplant]

EggPlant is a suite of test automation tools that helps teams achieve greater productivity with fully automated performance/functional testing. Because of its approach to test automation (using image-matching techniques) it allows for system-wide automation of a system-under-test as opposed to an application-specific solution.

Introduction to Eggplant

Eggplant is a suite of test-automation tools that can be used to test applications across various desktop and mobile platforms.

The various components of the Eggplant suite are

Eggplant is a paid product with a free trial.

How it works

Most test-automation tools (especially those that involve UI automation) can be classified into two buckets - those that use some form of image-recognition and those that have access to the objects within the application being tested.

With the latter approach, typically an "instrumented" form of the application with tool-specific "hooks" is deployed to the system-under-test for testing. This instrumented application enables testing tools to access the object-level information of the application being tested.

Eggplant uses the former approach. It uses image-matching technology as opposed to looking to the object-level of the application being tested. What this means is that Eggplant "sees" the screen of the system being tested, and can recognize, for example, when a particular window or icon or text appears onscreen.

Because Eggplant only looks at the "screen" of the system under test, the technology used in the application to be tested does not matter; nor does the system that the application runs on. It also means that eggPlant does not require the application to be "instrumented".

Eggplant is a two-computer system, consisting of a controller machine, where scripts are authored and executed, and a system-under-test which runs a VNC server. Eggplant connects to this VNC server via its built-in viewer via TCP/IP. The system-under-test can be any system that has a VNC server for it. This includes mobile devices, which may be tethered to either the primary or secondary computer using USB or wireless communications and a Mobile Gateway.

Scripting is accomplished using a proprietary scripting language called SenseTalk, an English-like language that is easy to use. SenseTalk is used in conjunction with a "guided record" mode, meaning the scripter teaches Eggplant to navigate a system and verify a set of test steps.

More Resources

52 questions
3
votes
1 answer

How to read text written on an image in eggplant?

I have a scenario where I have to read text on the image and only text at a time in eggplant. Could anyone please help me with it?
3
votes
1 answer

Working of EggPlant Mobile in iOS

I want to know the working of EggPlant Mobile for iOS. All i know is that Eggplant functional application creates Test Scripts and execute those Tests on Mobile. Now i want to know that how that execution works at iOS end. My guess is that they are…
iOS Dev
  • 301
  • 2
  • 9
2
votes
4 answers

Eggplant/Sensetalk Search for string then grab the next word

I'm learning Eggplant. I would like to some string for a specific string and then grab the text following that string. For example, I want to get the version number for the following string since it changes. This is some log statement telling me…
crazigrl
  • 21
  • 5
2
votes
1 answer

How to retrieve output from Eggplant shell script command

Trying to retrieve the output of my shell command, so I assign it to a variable and try to log it via the LogSuccess command. put shell ("cat login.txt") into myOutput LogSuccess myOutput Unfortunately, I don't see anything in the logs or anyway to…
MrPickles
  • 1,255
  • 1
  • 16
  • 31
1
vote
1 answer

Eggplant ImageFound([text]) not able to find string with apostrophe '

I have this string 'LOAD' button in my SUT, then I am trying to find if this text exist in the script using the command ImageFound(text:"'LOAD' button) but it always return me false. I am able to find the word LOAD itself but when I add the…
1
vote
1 answer

Eggplant : how to update a .csv file in senstalk

I am new to eggplant functional. Didn't find any reference to update a csv using eggplant functional. Reference: http://docs.testplant.com/ePF/using/epf-accessing-data-cell-by-name.htm
Javed Khan
  • 31
  • 10
1
vote
2 answers

How to call or invoke a Java program from EggPlant functional?

I need to invoke a Java program inside a sensetalk script or from EggPlant. Is there any possibility for doing the same?
1
vote
1 answer

How to escape , escape characters in eggplant sensetalk language

This is my eggplant script if iFound does not contain "NULL" then //replace "\n" by " & return & " in iFound replace every occurrence of "\n" in iFound with " & return & " log "before clicking see text" && iFound log "not null and…
Prasad Madge
  • 71
  • 1
  • 14
1
vote
0 answers

eggPlant installation on RedHat7: Library Errors

I installed the eggPlant15.20.rpm on our Linux/RedHat7 system, however seem not to take its license properly, causing it not launch at all. I was wondering if the eggPlant RedHat installation is not sufficient, and whether we need other…
DevGirl
  • 153
  • 1
  • 8
1
vote
1 answer

Does eggplant support motion detect?

I am trying to automate one of the applications wherein I have to check whether a video is getting played or not in full screen mode.I have to specifically check whether there is any motion happening during playback. Can anyone please help me here ?…
1
vote
2 answers

Recording with Eggplant?

When a coded UI test in Eggplant fails, it gives a screenshot of exactly where the script failed at. I want more than just a screenshot, however. I want a video recording of the test running, so I can have a better idea of why the test is…
MrPickles
  • 1,255
  • 1
  • 16
  • 31
1
vote
2 answers

Automation testing on OS level

I am working on an iOS application in which automation testing will be done on OS level( can open any application through script). I have searched a lot, all I found is we are allowed to automate the test script within our own application only.…
Hawk-Eye
  • 400
  • 1
  • 7
  • 23
0
votes
1 answer

Eggplant/Sensetalk parsing and separating a string with capitalized words

I'm in need of the ability to parse and separate a text string using Sensetalk (the scripting language the Eggplant GUI tester uses). What I'd like to be able to do is provide the code a text string: Put "MyTextIsHere" into exampleString And then…
James Mackenzie
  • 88
  • 2
  • 11
0
votes
0 answers

How to use smb protocol with Sensetalk

Read a file with sensetalk smb protocol Is this correct? put "username" into username put "password" into password put "server_name" into serverName put "path/to/file.txt" into filePath Create an SMBConnection object put SMBConnection(username,…
maseyh
  • 11
  • 2
0
votes
0 answers

Connecting to a VM behind a web portal with Eggplant

Currently, in order to access a VM for testing, I have to log in using a web portal (Citrix, for example). This results in me being unable to directly connect using the Eggplant connection feature - instead, I have to first connect to a separate…
pairo
  • 1
  • 1
1
2 3 4