How to reset app between coded ui run executions?

Dear All,
We have a coded ui assert method that taps controls over the interface and open many xaml pages.
Everything is ok for the first run (after app deploy), but the second time when XamlWindow.Launch("...") occours the app is restored with the last opened page (last entry in the navigation back stack).
Is there a way to reset the app status at every run?
Is there a way to press emulator back button ?
Thank you
Gianni Antani

Hi Gianni,
I think this is the feature of app life cycle.
https://msdn.microsoft.com/en-us/library/windows/apps/hh464925.aspx. If you want the app starts with the main page, you just need to handle the Resume event when app resumes.
https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh465110.aspx. Add navigate code in App_Resuming method.
Please feel free to let me know if I have any misunderstanding.
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 to sys the apps between mac book running in mac ox lion and iphone 4s

    how to sys the apps between mac book running in mac ox lion and iphone 4s

    An app written for Lion can not work on iOS of iPhone.
    Allan

  • I need to know how to share apps between my two Ipads and Iphone 6.

    I have and Ipad and my wife has an Ipad2 and an Iphone6.  I need to know how to share my apps between all devices.  I have heard of family sharing but don't know how to start.

    The following may help:
    Family Sharing - Apple Support
    Set up Family Sharing - Apple Support

  • How to share app between a MacBoo Pro,an iphone 5 and an iPad?

    Hi,
    I have an BacBookPro using OSX 10.9.1, an iPad and an iPhone. I don't know Apple very well.
    When my boy download a new App one the iPad, it automatically appear on my iPone. How it's working?
    Is there a way to share things between the MAc, the iPad and the Phone? Is there a way to save App on my MacBook Pro? Or  save my boy iPad's musics on my Mac? I don't now how to use iCloud is it with that?
    Thank you.
    Best regard

    fleurs65 wrote:
    When my boy download a new App one the iPad, it automatically appear on my iPone. How it's working?
    That happens because in Settings>iTunes & App Store you have Apps turned on under Automatic Downloads.  If you don't want this, turn this off.  This can be configured on your iPad too.
    Is there a way to share things between the MAc, the iPad and the Phone? Is there a way to save App on my MacBook Pro? Or  save my boy iPad's musics on my Mac? I don't now how to use iCloud is it with that?
    That's what iTunes is for.  Download purchased apps and music to your iTunes library (see http://support.apple.com/kb/ht2519), and import music from your CDs to your library, then sync the iPad and iPhone with iTunes to transfer what you want.  You can also configure Automatic Downloads on your Mac by going to iTunes>Preferences>Store.

  • How to share apps between 2 iPads with 2 different iTunes account in 2 computers?

    I apologize if this has been answered somewhere but I've spent a lot of time researching this and none of the questions exactly match my situation.
    Situation: I have my own iTunes account, Mac and iPad. My Mom has her own PC, iTunes account and I just bought her an iPad.
    Issue: I would like to share some apps with her, without her having to buy them all over again.  Since I'm paying for all her app purchases anyway, I would rather not pay for Angry Birds twice.  She has her own apps and music that I have no interest in, so we cannot share 1 iTunes account.
    This is what I was thinking of doing from all the research I've read:-   Since I can authorize up to 5 computers or 10 computers & devices from 1 iTunes account, can my Mom sign out of her iTunes account on her PC, sign in to my iTunes account, download all the apps she wants from my account. Then, she signs out of my account, back into hers and sync her iPad.
    Questions:
    1) This (should) mean that her PC is now authorized with 2 iTunes accounts - hers and mine. In other words, she gets to keep all her content in her iPad plus whatever apps she wants from me.  Will this work?
    2) It wouldn't wipe out all her apps/music/photos etc during the sync, will it?
    3) Will update to apps I purchased in my iTunes account automatically also update in her iPad?  Or will the update only happen if she signs out of her account and in to mine again.
    4) If someone knows of a better way of doing this, I'd greatly appreciate it. Thanks much
    Jeff

    I do something similar myself and it works quite well, so here are my answers to your questions:
    1. Her PC would be authorized on both iTunes accounts. So yes, the arrangment you mention here will work.
    2. No, nothing will get wiped out from her iTunes library or iPad.
    3. The App Store on her iPad will simply ask for your password in order to update apps from your account. In these cases the authentication alert view will show your Apple ID instead of hers
    4. Maybe instead of using the Purchases tabs (since on the iPad there is an odd restriction to only one account and changing it renders the feature useless for 90 days, why is beyond me) use Home Sharing between the computers if possible, or put what she wants on a flash drive to take to her house.

  • How to share apps between iphone4s and ipad3

    can anyone tell me how to get my apps from my iphone on to my ipad

    Make sure the iPad and iPhone use the same Apple ID.  Then connect your iPad to your computer and restore the iPad from your iPhone backup via iTunes.

  • How to share apps between 2 iPod Touch

    I want to share apps with my daughter - is this possible? If so, how can this be done.

    Apps can only be shared on devices using the same iTunes account. So, in order to use the same apps on the other device, you'll have to sync it logged in with your account in iTunes.
    Set it up as desired and sync. iTunes will remember the settings for each device.

  • How to reset youtube password apps in ipad

    I  miss my password apps youtube, how to reset apps youtube in ipad

    I  miss my password apps youtube, how to reset apps youtube in ipad

  • Hello. My iphone 4, iOS 6.1.3 gone wild....everything is going in slow motion, every app i open is running in frames...i tried reseting the handset, with back-up, without backup(as a new iPhone) and the result is the same. Help ! Apple? Anybody ?

    Hello. My iphone 4, iOS 6.1.3 gone wild....everything is going in slow motion, every app i open is running in frames...i tried reseting the handset, with back-up, without backup(as a new iPhone) and the result is the same. My battery percentage is going down down down only by looking at my phone, imess is making me crazy, after i write the name for the recipient the keyboard appears after 2 min...and the list is looooong...everything is gone wild ! Why? What can i do ?

    I'm having similar issues just lately. The phone itself is very slow to respond to the touch, just scrolling between home screens is a chore at times. There have been about 2 incidents of random vibration from it. Closing home screen folders takes a couple of attempts. I find that I'm also having delayed keyboard responses when typing messages to my contacts.
    Also, sometimes when I press the sleep/wake button it takes about 30 seconds to register it and actually lock or wake up.
    Have you experienced the backlight failing to light up? Like if I get a message it flashes up then goes black straight after and when you press the sleep/wake or home button it lights up again but very very dimly and you have to press the sleep/wake button as if locking it and then press it again to bring the screen up properly?
    Mine is also on 6.1.3(10B329), model MD245B/A, obviously not Jailbroken, carrier unlocked from Vodafone (but that was months and months ago). Roughly 17gb of storage space left.
    This has only started happening in the last 2 weeks. Haven't tried the reset or anything yet though.

  • How can i share purchased apps between 2 diff users on the same mac?

    How can I share purchased apps between 2 diff users on the same mac?

    A purchased app is associated with an Apple ID. A user with a different Apple ID cannot use the app unless they also use the same Apple ID.
    I cannot use my wife's apps nor she mine because each were purchased with different Apple IDs.

  • How to transfer app data between two different game center accounts?

    Hello, I really need some help.
    I have looked all over the web for ways to transfer apps between two different game center accounts and different devices. Several weeks ago I started playing Campus Life on my relative's Ipad 2, therefore spending many long hours to get to this point in the game.
    The problem is I just got an Iphone 5 and I really would like to transfer the data onto it, so that I would not need to start all over again.
    My grandma has an account (Game Center) onto which the data has been saved and I would like to have it stored onto mine. On some forum someone said to sign into the account which has the data on both devices and to then open up the game on the new device. It worked. Then I signed out and logged in with my own account- the game started from scratch. I panicked. I went back on the other account, and the data reappeared. I have been going back and forth, the game changing as many times. I thought it would ask to back up my grandma's data on mine but I was wrong. I can not seem to save the game onto my new account, and I have even tried to back it up to Itunes and then copy it onto my phone after having signed into my own account. And I don't know how to properly use Icloud. I am a mess. I am completely lost and have found no help on the web. (All people seem to have to deal with is sharing Apple IDs with different Game Center Accounts for the kids and transferring apps from one of their devices to another.)
    I am so worried I am going to mess up and will lose the whole thing completely.
    I have just started another game with my own account but since I am using my grandma's, the data is erased. It's one or the other but I definitely prefer saving Campus Life. I do not like the idea of having to only pick one.
    I do not know any technical terms, so if you understand or even have the slightest clue about what I am talking about, I applaud you.
    This seems like mission impossible, so if anyone can help in any way, I would be really grateful. 
    Thanks in advance for your time and thoughts!

    I meant to press on "This solved my question"... Sorry if you needed the points.
    Thank-you and I will just go back and forth between the accounts.

  • My computer died when I was syncing music from iTunes onto my iPad. I can reset it and get it running, but I want to get back my photos and videos. How do I get back photos and videos in recovery mode?

    My computer died when I was syncing music from iTunes onto my iPad. I can reset it and get it running, but I want to get back my photos and videos. How do I get back photos and videos in recovery mode?

    Clucktastic wrote:
    How do I get back photos and videos in recovery mode?
    Once the Device is asking to be Restored with iTunes... it is too late to save anything...
    See Here  >  http://support.apple.com/kb/HT1808
    Once you have Recovered your Device...
    Re-Sync your Content or Restore from the most recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766

  • How to sync data/apps between different iTouches?

    I have my itouch, and some apps for my kid.
    If I buy a new itouch, I'd like to move all my existing data to the new ipod touch, then put only a few apps on the old ipod touch.
    how would i go about managing multiple ipod touch devices using itunes?
    Can I mix and match apps between the various ipods?

    You can sync as many ipods as you like to one computer/library.
    Each device is different and can be set to sync whatever you like.

  • How to protect customization in oracle apps files against autoconfig run

    Hi,
    how to protect customization in oracle apps files against autoconfig run.
    For example:
    Take wdbsvr.app file i have added a new dad configuration for APEX but when ever i run autoconfig it replaces all my customizations so could you please let us know how to protect these customizations .
    Thanks.

    Hi,
    Please see (Note: 270519.1 - Customizing an AutoConfig Environment).
    Regards,
    Hussein

  • When running adcfgclone.pl how database validates apps password?

    Hi,
    I want to know how cloned instance validates APPS password when we run adcfgclone.pl on DB tier?
    Thanks,
    Anil.

    Duplicate post -- https://community.oracle.com/thread/2616199

Maybe you are looking for

  • Application Switcher Not Working correctly

    Selecting a program opens desired program properly(as displayed in Menu Bar) but will not open the corresponding program's open windows until selecting program in a Mission Control desktop. After selecting the desktop to which the program is attached

  • How can i connect my Imac late 2012 to my Samsung TV??

    How can i connect my Imac late 2012 to my Samsung TV??I have a hdmi cable stuck in my Tv and the other end a adapter from hdmi to mini display port. but it won't work I don't get no picture or sound on my tv

  • Why my new Mac mini  DVI dual link mini display port adapter doesn't work  with my 30"display (LG W3000H)?

    Hello There Can any of you advise on the below? Tried to connect Mac mini with a 30" display through a DVI dual link mini display port adapter. For the first try Mac mini go connected to the display, then i've chosen the highest resolution (2560x1600

  • How do you make an Image from a Graphics?

    1) Is it possible to make an Image from a graphics? I've returned the Graphics of an image in the method of one class so that I can work with it in another class. I was looking for a setGraphics in the Image class but there isn't one. Nor is there a

  • A few SQL related protection group Questions - DPM 2012 R2

    Hi - Here is my environment: DPM 2012 R2 backing up SQL 2012 DBs. Some of the DBs are simple recovery model, some are full recovery model in the same protection group. 1) Regarding the fact that DPM only looks to the recovery model when the DB is fir