How to set/do the class which should be executed first in coded ui where there exists many classes [CodedUITest] attribute??

Hello Team,
I am using vsts 2012 for coded ui automation. I have created coded ui test project and added many coded ui classes- e.g
  [CodedUITest]
    public class A
[CodedUITest] 
public class b
CodedUITest] 
public class c
So how can i set class order .....in coded ui test.....i want to run first class c then Class A and then calss B ...........
I know using ordered test we can set order/sequence of methods to run................
But can we achieve this for class also...............
Please help me...........
Thanks

Hi Mon_bk,
Thank you for posting in MSDN forum.
>>So how can i set class order .....in coded ui test.....i want to run first class c then Class A and then calss B ...........
Generally, I know that we could use this ordered test to call the codedUItest method to according to this specified order by ordered test.
As you said that you want to set this class order in coded UI test, as far as I know that it is default that we could not implement this function in coded UI test.
However, I have a replace workaround to run class order for coded UI test. The workaround is that you could try to use such as a console application to execute this coded UI test.
For example, you could create a console application project and then reference this coded UI test project by Adding Reference.
And then call this coded UI test class in this Main method, the code like the following.
using CodedUITestProject1;
namespace ConsoleApplication1
class
Program
static
void Main(string[] args)
CodedUITestProject1.CodedUITestC codedC =
new CodedUITestProject1.CodedUITestC();     
codedC.CodedUITestMethodC();
CodedUITestProject1.CodedUITestA codedA =
new CodedUITestProject1.CodedUITestA();
       coded2.CodedUITestMethodA();
CodedUITestProject1.CodedUITestB codedB =
new CodedUITestProject1.CodedUITestB();
       coded3.CodedUITestMethodB();
So I suggest you could try to refer the above code to check this issue.
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • How can I fix the problem which doesnt allow me to access applications supposedly because theres no internet connection or i need to fix the firewall even though ive checked?

    please help I've been trying to download applications from creative cloud but the applications wont load while everything else will.

    Sign in, activation, or connection errors | CS5.5 and later
    Mylenium

  • Guys ... I have a 2008 MacPro running the current Yosemite.  I also have installed the sound amp called "BOOM!"  I have the Sound set to Line Out which should have the computer boot up to BOOM! Instead, it boots up to the Internal speaker. What's up?

    Hi Folks ...
    I have a 2008 MacPro running the current Yosemite. I have installed the recommended upgraded video card, but the sound is as it was new. I also have installed the sound amp/graphic equalizer called "BOOM!"  I have the Sound set to Line Out which should have the computer boot up automatically to BOOM!  and thus to the external speakers.  Instead, it boots up to the Internal speaker.  According to the folks at "BOOM!", this is happening to others who have similar Macs.  They can't find any explanation within BOOM!, so I am turning to you all.  Any ideas?

    Hi Kappy ...
    Sorry, I guess I didn't state the problem very well.
    I don't want the computer to boot up to the internal speaker.  I want it to boot up to the external speakers.  However, even though System Preferences is set on Line Out, when the computer boots up or reboots, it erroneously goes to internal speaker.  So, every time I boot up, I have been going to System Preference/Sound and clicking on Line Out.  From that point on, everything is OK until the next boot up.  It is a small annoyance, but annoying all the less. The simple explanation seems to be that when the computer is shut down, it does not hold the setting for Line Out and resets itself to Internal Speaker.  How do I change that behavior and get it to go to Line Out whenever it boots up? 

  • How to access all the classes in a jar file

    hai
    i have a custom built JAR file which has many classes(Translets) in it . i want to access the classes inthe JAR file in a JSP page or an servlet. I have tried setting the classpaths etc , but nothing has happened.
    Where should the jar file be Palced - i am using Tomcat Server.
    How Can i Access the class files .. Very Urgent .. Please Help me ..
    Peter Iyer

    What is showing a file not found error? The web browser? if so, that's probably not a problem with the jar file.
    Also, have you expanded your jar file to make sure that you jarred it up correctly?

  • How to set an actionscript class runnable + some question?

    Dear all,
      i am new to actionscript (Flex 3).
      i am from java camp and i want to achive some java-style functionality in actionscript,and hope you can help me:
      1. how to set an actionscript class runnable??
          in java, i just add a "public static void main(String[] args)" method which will be the program entry point. (IDE, right click the class and click run)
          i can't set a plain, ordinary actionscript runnable in flex builder.
          To test the class, i have to create an mxml (which in turn invoke the testing class) and it be runnable in the flex builder 3.
          any other way to ease the testing?
       2. it there any good 3rd party library for datatype conversion ? (e.g. string <> date, the build-in DateFormatter don't accept milliseconds)...
           it seems actionscript come with limited such kind of utility function
       3. in a custom mxml component, which contains several controls (say testboxes, comboboxes)...etc,
           for information hiding/prevent others to change the child controls in the custom component, how can i hide the child control, not allow
           other code to access the child by  "Component.textbox1"....any scope modifier, e.g. protected, private...etc in mxml?
       thank you.
    ppk luk

    Hi Alex,
      for question 3:
      i just wondering if it is ok or not for better code/validation.....(and it follow the good
    information hiding principle?)
      if i write the component in actionscript only, i can set the child control with scope modifier
    'private' or 'protected'..so that the component user can't just use the dot syntax to gain
    access to the child control,
    e.g. MyComponent.childControlTextInputBox.value = "A";...
    i want to force user to use MyComponent.setInputBoxValue("A")...
    (e.g. in this method, i can do some checking/validate before passing to the textbox)
      this can enforce the data consistency in my custom UI component...
      there is no way to achieve the same effect in MXML?
    (e..g <mx:TextInput id="privateChildControl" accessScope="private" .../>)
      thank you..

  • I am having macbook air recently my iphotos did not open and was showing report apple and reopen but i came to know that by pressing alt and iphotos i open an new photo library and stored the pics but now how can i get the pics which i had in the earlier

    i am having macbook air recently my iphotos did not open and was showing report apple and reopen but i came to know that by pressing alt and iphotos i open an new photo library and stored the pics but now how can i get the pics which i had in the earlier photo please help me to recover my photos

    Well I'll guess you're using iPhoto 11:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • How to set  up the loop?

    I am trying to create a Frame, using BorderLayout and every time we click the center button, it will change the color in one of the region. But I dont know how to set up the loop to make it change one at a time. Below is my draft......Thanks for helping.......
    Test.java
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Test extends Applet implements ActionListener
              Color []color={Color.red,Color.blue,Color.black,Color.green};
              private Button nb=new Button("North Button");
              private Button sb=new Button("South Button");
              private Button eb=new Button("East Button");
              private Button wb=new Button("West Button");
              private Button cb=new Button("Center Button");
              int buttonCount=0;
              public void init()
                   setLayout(new BorderLayout());
                   add(nb,"North");
                   add(sb,"South");
                   add(eb,"East");
                   add(wb,"West");
                   add(cb,"Center");
                   cb.addActionListener(this);
                   buttonCount=0;
              public void actionPerformed(ActionEvent e)
                   for (int i=0;i<color.length;i++)
                        buttonCount++;
                        if (buttonCount%2==0)
                             nb.setBackground(color);
                        if (buttonCount%2==1)
                             sb.setBackground(color[i]);

    declare a public variable count;
    int count=0;
    public void actionPerformed(ActionEvent e)
    buttonCount++;
    count++;
    if(count==color.length)
    count=0;
    if (buttonCount%2==0)
    nb.setBackground(color[count]);
    if (buttonCount%2==1)
    sb.setBackground(color[count]);
    hope you got it.

  • How can we get the image which is stored in clipboard by labview, is there any functions available like text from clip board

    How can we get the image which is stored in clipboard by labview, i can get the text in clipboard by using invoke node directly.but i cannot get the image, is there any functions or vi available.(image is in Png format)

    The Read from Clipboard method is, unfortunately, limited to text. If the clipboard contains an image then you need to use OS-specific functions calls. This is an example program for Windows. It's old, but it should still work.

  • I have bought the verizon iPad 2 from US and want to use it in India. How to set up the Indian CDMA carrier on my iPad 2

    I have bought the verizon iPad 2 from US and want to use it in India. How to set up the Indian CDMA carrier on my iPad 2 ?

    rahulmcadit wrote:
    The phone is from UK and the carrier on which phone has been locked is "ORANGE". I want to use the same phone in India. I want to unlock the phone. Can you please suggest me what is the procedure to unlock the phone. How can I pay the amount to ORANGE carrier and can use my iphone in India.
    Contact ORANGE to unlock it.
    See this -> http://support.apple.com/kb/HT5014

  • Setting up the class root directory and choosing class files.

    I made a simple test application as it is proposed at the J2EE 1.4 Tutorial and all worked.
    (Chapter 24 Getting started with Enterprise Beans)
    Than I deleted the ear file to try out the deploy mechanism again.
    And after generating the new application with File-> New application which worked well I also
    tried to use the EJB Wizard feature of the J2EE deployment tool. After I had selected the appropriate EJB classes to add to my jar, I clicked NEXT and I got the following message:
    The class (converter.Converter) could not be loaded:
    Please consult online help for assistance in setting up the class root directory and choosing class files.
    The online helps isnt very usefull for this type of problem.
    Do you have a hint what to do ?

    Hi san-deepu,
    I couldn't reproduce the error you are having when I followed Ch. 24 tutorial in packaging the ear. Is there anymore information in deploytool's logfile? This is in <user_home>/.deploytool/logfile, or you can run in verbose mode: <as_install>/bin/deploytool -v
    When you say you deleted the ear file, did you also close the ear file in deploytool first? You may also want to exit deploytool () , and try deleting the temporary files. Deploytool usually cleans up the temp files automatically upon exit - maybe there are some left behind that it couldn't delete. On windows the temporary files are located by default in C:\Documents and Settings\Administrator\Local Settings\Temp\sun-dt-Administrator. In deploytool go to Edit --> Preferences --> General to find what the temporary directory is set to.
    Which version of the appserver are you using? jdk version? operating system?
    J

  • How to set/get the archive file attribute?

    I am programing a (freeware!) ftp client and need to know, how to set/get the archive attribute of a local file. I was searching through whole the i-net - nothing at all!
    please help me!!

    Hi,
    Since not all operating systems support the archive attribute, this ain't included in the JDK.
    If you're using Microsoft Foundation Classes for Java, then you can use File.getAttributes(String path) and check whether the result equals FileAttribute.ARCHIVE.
    For setting the attribute, you can use
    File.setAttributes(String path, FileAttribute.ARCHIVE)
    Of course this is all Microsoft-specific stuff.
    Hope this helps,
    Kurt.

  • How can i see the URL which has  length more than 255 chars in fucnction

    Hello Every body....
      I am facing one problem....I have a function module which returns URL in one table
      but in the function module display i am able to see only 255 characters,but the URL is more than 255 Characters..How can i see the URL which has the length more than 255 characters..
    In the Table the fields url length is 4000 chars.....
    but display it is showing only 255 chars.....
    Please Help me...??????????

    Hello,
    Have you tried breaking your structure into 255 chunks? I don't know what the structure you are moving from looks like, but you should be able break it back up into the SOLI structure. The end of a line in SOLI doesn't create a Carriage Return/Line Break. You have to insert these yourself like in the following:
    * Create document
          clear mail_line.
          move 'This is a test E-Mail'(d01) to mail_line.
          concatenate mail_line
                      cl_abap_char_utilities=>newline
                      into mail_line.
          append mail_line to l_mailtext.
    What kind of attachment are you wanting to create - a text tab delimited file for reading in a spreadsheet application such as excel? You might try reassembling your data table into a single string with newlines where you need them. Then use function module SCMS_STRING_TO_FTEXT to turn it back into SOLI. This is what I have done in the past. I'm afraid without knowing more about your source structure and attachment type, this is about all I can tell you.
    Vasanth

  • HT201272 I am using Apple ipod 2nd gen with IOS 4.2.1 . No i recently updated my IOS and all my apps were deleted. Now when i download IBOOKS it needs IOS 5. How do i get the apps which are copatible with IOS 4.2.1 or IPOS 2nd GEN??

    I am using Apple ipod 2nd gen with IOS 4.2.1 . No i recently updated my IOS and all my apps were deleted. Now when i download IBOOKS it needs IOS 5. How do i get the apps which are copatible with IOS 4.2.1 or IPOS 2nd GEN??

    You should always have your apps on your computer.  If you have failed to keep a copy of the old app versions, then you cannot get them back at all.
    Sorry.
    Many app makers no longer support the old ios and ipod models

  • How to set up the client-specific consolidation routes

    Hi!
    I am setting up TMS-functionality in my 2-system landscape (DEV, PRD) and would like to use 2 Clients in the DEV-system (100> Cust and 200> Test).
    <b>How can I set up the tranport routes between the Clients 100 and 200 in the same system DEV?</b>
    I read, the client-specific consolidation route should be applied in this case?!
    (also some parameter settings should be edited, e.g. CTC)
    <b>Can some one give me a detail technical description how to set up the client-specific consolidation routes between Client 100 and 200 in DEV-system?</b>
    Thank you!
    regards

    Hi Axel,
    You have activate Extended transport route.
    refer this link to helpout for the same
    http://help.sap.com/saphelp_47x200/helpdata/en/2e/709533ef9b11d184850000e8a57770/frameset.htm
    Reward points if helpful.
    Regards
    Ganesh

  • How to set up the N97 for retrieving my lotus note...

    I'm new at this and may have missed the information in an existing discussion but I couldn't find a solution to my problem.  I have set up my home email but I am not sure how to set up the work email and calendar which is Lotus Notes.  I've tried using mail for exchange, email and email sync. It has been suggested that I forward the work email to another address (which is what I had to do for my home email to work) but I would think that if I did this, I wouldn't be able to retrieve lotus notes calendar information.  Does anyone else use their N97 to retrieve Lotus Notes emails and calendar information from their work?

    Run Safari and open the Preferences, in the General Tab is a field to set your Home Page

Maybe you are looking for

  • ECC6 shutdown : CIF deactivation and CIF reactivation ?

    Hello, We are running SAP ECC6 EHP5 and SAP SCM 7.02/Live Cache 7.9. I am a sap basis guy, and it is quite difficult to perform any maintenance on ECC6 which would require a shutdown ( parameter change, kernel update, memory adjustment, ...) because

  • No longer able to buy/update apps or iTunes on ipad3

    Hi, Whenever I try to buy a new app or update an old one, or buy along in iTunes, I get a message saying "unknown error". I can download fine on my iPhone so it's not a problem with my password... I've tried turning on/off wifi, airplane mode and the

  • Essbase 7 add-in with Excel 2007

    Hi, We are using Essbase Spreadsheet services 7.1.3 (EssbaseWebService) in Excel 2007 and we are facing an issue with the zoom-in function. The zoom-in retrieval time is a lot more time consuming than with Excel 2003. Do someone ever faced the same i

  • RFFOUS_C requirement

    I am working on a requirement where the customer needs a cheque to be printed not through the standard SAP program RFF0US_C program but a file ( of a particular format ) to be produced with cheque details and remittance details . This file will be se

  • Name of Lockbox set in Remote Portlet Web Service?

    Using the ALUI 6.0 IDK API, does anybody know how to get the name of the Lockbox a Remote Portlet Web Service is using? Authentication Settings / Credential Vault Settings / Lockbox