Search found 2 matches

by dhh
Thu Apr 24, 2014 2:52 pm
Forum: Automation API
Topic: IF Item Exists not working
Replies: 4
Views: 6386

Re: IF Item Exists not working

This line: if (repo.GroupcallMessengerRoot.SendMessage.Recipients.Menu_Groups.SavedGroupsInfo.Exists = true) should be: if (repo.GroupcallMessengerRoot.SendMessage.Recipients.Menu_Groups.SavedGroupsInfo.Exists() == true) 'Exists' is a method so needs brackets, also '=' is an assignment, "==" is a te...
by dhh
Thu Apr 24, 2014 1:49 pm
Forum: General Questions
Topic: Update repository images within tests ?
Replies: 3
Views: 1814

Re: Update repository images within tests ?

I've done something similar using this usercode: using System.Drawing; public void IsClipPlaying() { //Graphical confirmation of Video Playing //Capture a bitmap Thread.Sleep(50); //give the clip a chance to load Bitmap imgA = Imaging.CaptureImage(repo.xxx.VideoWindow); //take a screenshot Report.Sc...