by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
Robert Poienar
@robert_poienar_gitlab
@Alice_JuheeJang_twitter yeah we know about this error. It's an error in our editor windows but it does not affect the build. You can just ignore that error it will not affect anything.
4 replies
dcole-gsn
@dcole-gsn
Hi, Was wondering if the 1.5.6 was been release? I've not seen a tag for the next release and the unity asset store still has 1.5.5 as the current.
6 replies
Abel Dantas
@abeldantas_twitter
Hi, can anyone that had any success with AWS device farm upload their yml testspec here please?
17 replies
dcole-gsn
@dcole-gsn
wolvesyaman
@wolvesyaman

Hello,

I want to Integrate AltUnity with TeamCity, but I could not find any documentation or example about CI Integration.

Kind regards

2 replies
Kostiantyn Goloveshko
@elchupanebrej
Hello,
I would like to try AltUnity inspector, but hadn't receive email with trial access key. First email has sent on Jun 24. Could you please help?
1 reply
wolvesyaman
@wolvesyaman
Hi,
in our project, we have some cases when the player should play 100 different level
and in each one, we load a new scene for some animation and then we take the player to levels scene
How can I ensure my test will continue after the scene is loaded?
and how can I make my whole tests replay in the same order more than once?
another thing sometimes the player should go from scene to another
then in the new scene, we want to run some tests
Then the player will go back to the scene that he came from
and test should continue from the last point that they were stopped for example the player played 30 levels and in 31 the scene load thing happened
then I want the test to continue from 31 not from scratch
1 reply
Juhee Jang
@Alice_JuheeJang_twitter
image.png
Hi all, after updating the asset to 1.5.6 today, I'm getting this ArgumentOutOfRange exception whenever I run my tests and my tests are not running.
1 reply
dcole-gsn
@dcole-gsn

Hi, I updaed to 1.5.6 and getting a

Version mismatch. You are using different versions of server and driver. Server version: 1.5.6 and Driver version: 1.5.5.

The AltUnityDriver.cs
public static readonly string VERSION="1.5.6";

12 replies
dcole-gsn
@dcole-gsn
Hi Guys, I know I ask alot... Was wondering when 1.5.6 maven package will be released?
7 replies
mohamed-ahmed1
@mohamed-ahmed1
hi all i'm trying to run altunity with java and appium and i was looking for tutorial or documentation to get some info about it but i didn't find any but python so is it possible to run altunity with appium using java ?
4 replies
Kostiantyn Goloveshko
@elchupanebrej
Hi guys, do you have compatibility matrix for AltUnity Inspector and AltUnity?
1 reply
Edwin DeNicholas
@edenicholas_twitter
Thanks for this 1.5.6 update. The camera By change has solved a number of problems for us. :thumbsup:
Frank Carrasco
@CarrascoFrank
Have an update to Altunity Inspector ?
1 reply
Danny Chia
@ixfd64
Is there a command to tap the center of the screen? On the app I'm testing, some UI elements disappear after a few seconds of inactivity. I have code to tap the screen at a specific coordinate, but it doesn't seem to work for all devices.
8 replies
Abhishek Chauhan
@abhi8130
hi guys,
I am trying to run first script in unity editor /vs code but unable to get the documentation or blog step by step ; How could i install appium java client in unity?
38 replies
Juhee Jang
@Alice_JuheeJang_twitter
Hi, can I ask why sometimes the tests list is just empty in the editor although build was successful?
2 replies
NicoAtTangelo
@NicoAtTangelo
Hi there, can anyone please explain me how the FindObjectByID works ?
AltUnityDriver.FindObject(By.ID, "XXXXXX").ClickEvent();
For instance here, how can I find this ID in Unity ? I tried with instance ID in the Debug panel within the Inspector
But this ID changes at every execution of the game...
4 replies
image.png
Danny Chia
@ixfd64
On an iPhone X, the app I'm testing does not seem to respond to screen taps, using either AltUnity Tester or Appium. I've tried different coordinates, but this didn't solve the problem. Is this some sort of iOS security feature?
3 replies
rahul vakhariya
@rahul.vak_gitlab

hello guys
when i m using altunitydriver methods i am getting below error
"The method findObject(AltUnityDriver.By, String) from the type AltUnityDriver is deprecated"
for all methods it giving me same error.

'public class AppTest extends Base
{
AndroidDriver<AndroidElement> driver;
AltUnityDriver altdriver;

@Test
public void shouldAnswerWithTrue()
{
    AltUnityDriver altdriver = null;
    altdriver.findObject(By.NAME,"STORE").tap();
    assertTrue( true );

}

}'

base class

'public class Base {
public static AndroidDriver<AndroidElement> driver;
public static AltUnityDriver altdriver;

@BeforeClass
public static void Capabilitis () throws MalformedURLException, InterruptedException
{
    File f=new File("src");
    File fs=new File(f,"TrashDashGame.apk");


    DesiredCapabilities cap= new DesiredCapabilities();
    cap.setCapability("automationName","uiautomator2");
    cap.setCapability("platformName", "Android");
    cap.setCapability("deviceName", "RahulEmulator1");
    cap.setCapability("app", fs.getAbsolutePath());

    AndroidDriver<AndroidElement> driver= new AndroidDriver<>(new URL("http://127.0.0.1:4723/wd/hub"),cap);
    driver.manage().timeouts().implicitlyWait(80, TimeUnit.SECONDS);
    Thread.sleep(10000);

   AltUnityDriver.setupPortForwarding("android","",13000,13000);

    altdriver= new AltUnityDriver("127.0.0.1", 13000);
   System.out.println("App Forwarded to AltUnity Tester.");        
}'
9 replies
Frank Carrasco
@CarrascoFrank
Hi guys how can I get another key for use to AltUnity Inspector?
2 replies
NicoAtTangelo
@NicoAtTangelo

Hi there, I'm curious about the reports. When my tests fail, I do not find anywhere some kinds of reports showing me what is wrong. There is this "No test selected" under the Run Test buttons... but it's not updating itself, whether my test pass or fails.

Am I missing something here?

3 replies
image.png
alan0508
@alan0508
PrecompiledAssemblyException: Assets/AltUnityTester/3rdParty/JsonDotNet/Assemblies/Standalone/Newtonsoft.Json.dll can I delete this dll?
Ru Cindrea
@ru.cindrea_gitlab
yes you can delete the the whole JsonDotNet folder from the AltUnityTester folder if you already have it in your project
alan0508
@alan0508
thanks @ru.cindrea_gitlab
alan0508
@alan0508
other question, launch the altunitytester editor from window of unity,platform Only Android ,editor , standalone, if I want to run it on ios, I must choose which one?
3 replies
NicoAtTangelo
@NicoAtTangelo
Hello, Debug.log() is not displaying anything in the Unity console. How can we debug then?
4 replies
NicoAtTangelo
@NicoAtTangelo

Hi @currysun, try to find GameObject with TMP_InputField component. This code should work well: AltUnityDriver.FindObject(By.PATH, "//UsernameInputField (TMP)").SetComponentProperty("TMPro.TMP_InputField", "text", "some user name", "Unity.TextMeshPro");

"TMPro.TMP_InputField" cannot be find, at least as of today 30/07/2020 :( Any idea what is the correct way to do it ? Also, SetText is also not working... My test pass but my field remains empty

alan0508
@alan0508
with altuniyt tester do UI test,the first step is loadscene,otherwise cannot do anything(such as tag) , it is right?
Frank Carrasco
@CarrascoFrank
Hi Guys, I update recently to Maven 1.5.6.1, but its saying waitForObject, findObejct and etc is deprecated.
image.png
Danny Chia
@ixfd64
Some time ago, I mentioned I was having an issue where taps were not registering on a particular iOS device (iPhone X). After some further experimentation, it seems the AltUnity Tester overlay is intercepting the touch actions. Any idea how to resolve this issue? I tried changing the click coordinates, but this didn't solve the issue.
ZamaszystyOj
@ZamaszystyOj
Hey! Is it possible to quit app after all tests are performed (passed or failed)? I tried to use Application.Quit() but it needs to be used in the main thread - so no luck with that :>
2 replies
ZamaszystyOj
@ZamaszystyOj
And another one: Is AltUnityTester supports Appium handling in Python? Is there an option to use C#?
3 replies
dcole-gsn
@dcole-gsn
Hi,
getting this exception: failedToParseMethodArguments when calling
AltUnityObject foo = altUnityDriver.waitForObject(AltUnityDriver.By.NAME, "MainSceneContext");
3 replies
NicoAtTangelo
@NicoAtTangelo
Hi, I'm trying to test directly over the Android this time. If I got it well, I need the following setup:
  • Android SDK 16+
  • Appium installed
  • My android device connected in USB debbuging
    I've got all this setup, but still, my device is not detected in the AltUnity Editor.
    Anyone can help me with that ?
75 replies
image.png
NicoAtTangelo
@NicoAtTangelo
image.png
NicoAtTangelo
@NicoAtTangelo
image.png
NicoAtTangelo
@NicoAtTangelo
image.png
john branek
@johnBee_gitlab
Hello, I'm trying to get all children of an object regardless of names in an array so I can loop over and see if they are enabled... has anyone done this?
for example:
Highlighting.png
Everything in 'Highlighting_Area'
chronicideas
@chronicideas
Hello all, sorry if this is a silly question but is there any way to click/tap and hold down on a button/gameObject ?? I know how to do it with Appium using Actions but how would I do it with AltUnityTester? Really appreciate any help, thanks!
Am I right in thinking it would be PointerDownFromObject or is that something else entirely ??